Commit a5d49439 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

Performance improvement for distillation of DNNs to trees.

* Move the DNN network to the training-only graph so it is not in the eval if we're doing distillation. This makes the inference much faster because we no longer run the DNN.
* Simplify use_core_version logic. Now we always return model_fn for contrib and estimator_spec for core.

PiperOrigin-RevId: 216932818
parent 3437098b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment