A function that takes no arguments and returns an
InputFnOps.
default_output_alternative_key
the name of the head to serve when an
incoming serving request does not explicitly request a specific head.
Must be None if the estimator inherits from tf.estimator.Estimator
or for single-headed models.
assets_extra
A dict specifying how to populate the assets.extra directory
within the exported SavedModel. Each key should give the destination
path (including the filename) relative to the assets.extra directory.
The corresponding value gives the full path of the source file to be
copied. For example, the simple case of copying a single file without
renaming it is specified as
{'my_asset_file.txt': '/path/to/my_asset_file.txt'}.
as_text
whether to write the SavedModel proto in text format.
exports_to_keep
Number of exports to keep. Older exports will be
garbage-collected. Defaults to 5. Set to None to disable garbage
collection.
strip_default_attrs
Boolean. If True, default attrs in the
GraphDef will be stripped on write. This is recommended for better
forward compatibility of the resulting SavedModel.
Returns
An ExportStrategy that can be passed to the Experiment constructor.
[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.contrib.learn.make_export_strategy\n\n\u003cbr /\u003e\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/learn/python/learn/utils/saved_model_export_utils.py#L404-L484) |\n\nCreate an ExportStrategy for use with Experiment. (deprecated) \n\n tf.contrib.learn.make_export_strategy(\n serving_input_fn, default_output_alternative_key=None, assets_extra=None,\n as_text=False, exports_to_keep=5, strip_default_attrs=None\n )\n\n| **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Switch to tf.estimator.Exporter and associated utilities.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|----------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `serving_input_fn` | A function that takes no arguments and returns an `InputFnOps`. |\n| `default_output_alternative_key` | the name of the head to serve when an incoming serving request does not explicitly request a specific head. Must be `None` if the estimator inherits from [`tf.estimator.Estimator`](../../../tf/estimator/Estimator) or for single-headed models. |\n| `assets_extra` | A dict specifying how to populate the assets.extra directory within the exported SavedModel. Each key should give the destination path (including the filename) relative to the assets.extra directory. The corresponding value gives the full path of the source file to be copied. For example, the simple case of copying a single file without renaming it is specified as `{'my_asset_file.txt': '/path/to/my_asset_file.txt'}`. |\n| `as_text` | whether to write the SavedModel proto in text format. |\n| `exports_to_keep` | Number of exports to keep. Older exports will be garbage-collected. Defaults to 5. Set to None to disable garbage collection. |\n| `strip_default_attrs` | Boolean. If True, default attrs in the `GraphDef` will be stripped on write. This is recommended for better forward compatibility of the resulting `SavedModel`. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| An ExportStrategy that can be passed to the Experiment constructor. ||\n\n\u003cbr /\u003e"]]