Home
last modified time | relevance | path

Searched refs:serving_input_fn (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/contrib/learn/python/learn/utils/
Dsaved_model_export_utils.py405 def make_export_strategy(serving_input_fn, argument
466 serving_input_fn,
474 serving_input_fn,
532 serving_input_fn = (
535 serving_input_fn = (
538 serving_input_fn,
650 serving_input_fn, argument
687 serving_input_fn,
Dsaved_model_export_utils_test.py55 serving_input_fn, argument
679 serving_input_fn=_serving_input_fn,
713 serving_input_fn=None, exports_to_keep=3, compare_fn=None)
755 serving_input_fn=None,
791 serving_input_fn=None, exports_to_keep=3, compare_fn=None)
/external/tensorflow/tensorflow/contrib/predictor/
DREADME.md26 def serving_input_fn():
34 saved_model_dir = estimator.export_savedmodel(my_export_dir, serving_input_fn)
86 `serving_input_fn` as above,
90 estimator, serving_input_fn)
/external/tensorflow/tensorflow/contrib/boosted_trees/examples/
Dboston_combined.py97 serving_input_fn = input_fn_utils.build_parsing_serving_input_fn(feature_spec)
99 saved_model_export_utils.make_export_strategy(serving_input_fn)]
Dboston.py107 serving_input_fn = tf.contrib.learn.utils.build_parsing_serving_input_fn(
115 export_input_fn=serving_input_fn)
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Destimator_test.py209 serving_input_fn = input_fn_utils.build_parsing_serving_input_fn(feature_spec)
214 features, labels, inputs = serving_input_fn()
272 serving_input_fn = input_fn_utils.build_parsing_serving_input_fn(feature_spec)
273 return est, serving_input_fn
517 def serving_input_fn(): function
526 os.path.join(est.model_dir, 'export'), serving_input_fn)
963 est, serving_input_fn = _build_estimator_for_export_tests(tmpdir)
975 export_dir_base, serving_input_fn, assets_extra=assets_extra)
1054 est, serving_input_fn = _build_estimator_for_resource_export_test()
1058 export_dir = est.export_savedmodel(export_dir_base, serving_input_fn)
[all …]
Destimator.py1318 serving_input_fn, argument
1362 if serving_input_fn is None:
1386 input_ops = serving_input_fn()
Ddnn_linear_combined_test.py927 def serving_input_fn(): function
934 serving_input_fn,
1574 def serving_input_fn(): function
1581 serving_input_fn,
/external/tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/
Ddnn_tree_combined_estimator_test.py232 serving_input_fn = (
238 serving_input_receiver_fn=serving_input_fn,
Dcustom_export_strategy.py62 serving_input_fn=export_input_fn, strip_default_attrs=True)
/external/tensorflow/tensorflow/contrib/learn/python/learn/
Dexperiment_test.py119 def export_savedmodel(self, export_dir_base, serving_input_fn, **kwargs): argument
121 (export_dir_base, serving_input_fn, kwargs))
157 self, export_dir_base, serving_input_fn, **kwargs): argument
161 export_dir_base, serving_input_fn, **kwargs)
/external/tensorflow/tensorflow/contrib/learn/
DREADME.md48 * Replace your `serving_input_fn` with a `serving_input_receiver_fn`.
53 If you were generating your `serving_input_fn` using the