Type ExportStrategy
Namespace tensorflow.contrib.learn
Parent PythonObjectContainer
Interfaces IExportStrategy
A class representing a type of model export. THIS CLASS IS DEPRECATED. See
[contrib/learn/README.md](https://www.tensorflow.org/code/tensorflow/contrib/learn/README.md)
for general migration instructions. Typically constructed by a utility function specific to the exporter, such as
`saved_model_export_utils.make_export_strategy()`.
Methods
Properties
Public instance methods
object export(Estimator estimator, Byte[] export_path, string checkpoint_path, IDictionary<object, object> eval_result)
Exports the given Estimator to a specific format.
Parameters
-
Estimator
estimator - the Estimator to export.
-
Byte[]
export_path - A string containing a directory where to write the export.
-
string
checkpoint_path - The checkpoint path to export. If None (the default), the strategy may locate a checkpoint (e.g. the most recent) by itself.
-
IDictionary<object, object>
eval_result - The output of Estimator.evaluate on this checkpoint. This should be set only if checkpoint_path is provided (otherwise it is unclear which checkpoint this eval refers to).
Returns
-
object
- The string path to the exported directory.
object export(Estimator estimator, Byte[] export_path, string checkpoint_path, string eval_result)
Exports the given Estimator to a specific format.
Parameters
-
Estimator
estimator - the Estimator to export.
-
Byte[]
export_path - A string containing a directory where to write the export.
-
string
checkpoint_path - The checkpoint path to export. If None (the default), the strategy may locate a checkpoint (e.g. the most recent) by itself.
-
string
eval_result - The output of Estimator.evaluate on this checkpoint. This should be set only if checkpoint_path is provided (otherwise it is unclear which checkpoint this eval refers to).
Returns
-
object
- The string path to the exported directory.
object export(Estimator estimator, string export_path, string checkpoint_path, IDictionary<object, object> eval_result)
Exports the given Estimator to a specific format.
Parameters
-
Estimator
estimator - the Estimator to export.
-
string
export_path - A string containing a directory where to write the export.
-
string
checkpoint_path - The checkpoint path to export. If None (the default), the strategy may locate a checkpoint (e.g. the most recent) by itself.
-
IDictionary<object, object>
eval_result - The output of Estimator.evaluate on this checkpoint. This should be set only if checkpoint_path is provided (otherwise it is unclear which checkpoint this eval refers to).
Returns
-
object
- The string path to the exported directory.
object export(Estimator estimator, string export_path, string checkpoint_path, string eval_result)
Exports the given Estimator to a specific format.
Parameters
-
Estimator
estimator - the Estimator to export.
-
string
export_path - A string containing a directory where to write the export.
-
string
checkpoint_path - The checkpoint path to export. If None (the default), the strategy may locate a checkpoint (e.g. the most recent) by itself.
-
string
eval_result - The output of Estimator.evaluate on this checkpoint. This should be set only if checkpoint_path is provided (otherwise it is unclear which checkpoint this eval refers to).
Returns
-
object
- The string path to the exported directory.
object export(Estimator estimator, Byte[] export_path, string checkpoint_path, IDictionary<object, object> eval_result)
Exports the given Estimator to a specific format.
Parameters
-
Estimator
estimator - the Estimator to export.
-
Byte[]
export_path - A string containing a directory where to write the export.
-
string
checkpoint_path - The checkpoint path to export. If None (the default), the strategy may locate a checkpoint (e.g. the most recent) by itself.
-
IDictionary<object, object>
eval_result - The output of Estimator.evaluate on this checkpoint. This should be set only if checkpoint_path is provided (otherwise it is unclear which checkpoint this eval refers to).
Returns
-
object
- The string path to the exported directory.
object export(Estimator estimator, Byte[] export_path, string checkpoint_path, string eval_result)
Exports the given Estimator to a specific format.
Parameters
-
Estimator
estimator - the Estimator to export.
-
Byte[]
export_path - A string containing a directory where to write the export.
-
string
checkpoint_path - The checkpoint path to export. If None (the default), the strategy may locate a checkpoint (e.g. the most recent) by itself.
-
string
eval_result - The output of Estimator.evaluate on this checkpoint. This should be set only if checkpoint_path is provided (otherwise it is unclear which checkpoint this eval refers to).
Returns
-
object
- The string path to the exported directory.
object export(Estimator estimator, string export_path, string checkpoint_path, IDictionary<object, object> eval_result)
Exports the given Estimator to a specific format.
Parameters
-
Estimator
estimator - the Estimator to export.
-
string
export_path - A string containing a directory where to write the export.
-
string
checkpoint_path - The checkpoint path to export. If None (the default), the strategy may locate a checkpoint (e.g. the most recent) by itself.
-
IDictionary<object, object>
eval_result - The output of Estimator.evaluate on this checkpoint. This should be set only if checkpoint_path is provided (otherwise it is unclear which checkpoint this eval refers to).
Returns
-
object
- The string path to the exported directory.
object export(Estimator estimator, string export_path, string checkpoint_path, string eval_result)
Exports the given Estimator to a specific format.
Parameters
-
Estimator
estimator - the Estimator to export.
-
string
export_path - A string containing a directory where to write the export.
-
string
checkpoint_path - The checkpoint path to export. If None (the default), the strategy may locate a checkpoint (e.g. the most recent) by itself.
-
string
eval_result - The output of Estimator.evaluate on this checkpoint. This should be set only if checkpoint_path is provided (otherwise it is unclear which checkpoint this eval refers to).
Returns
-
object
- The string path to the exported directory.
object export(object estimator, Byte[] export_path, string checkpoint_path, IDictionary<object, object> eval_result)
Exports the given Estimator to a specific format.
Parameters
-
object
estimator - the Estimator to export.
-
Byte[]
export_path - A string containing a directory where to write the export.
-
string
checkpoint_path - The checkpoint path to export. If None (the default), the strategy may locate a checkpoint (e.g. the most recent) by itself.
-
IDictionary<object, object>
eval_result - The output of Estimator.evaluate on this checkpoint. This should be set only if checkpoint_path is provided (otherwise it is unclear which checkpoint this eval refers to).
Returns
-
object
- The string path to the exported directory.
object export(object estimator, Byte[] export_path, string checkpoint_path, string eval_result)
Exports the given Estimator to a specific format.
Parameters
-
object
estimator - the Estimator to export.
-
Byte[]
export_path - A string containing a directory where to write the export.
-
string
checkpoint_path - The checkpoint path to export. If None (the default), the strategy may locate a checkpoint (e.g. the most recent) by itself.
-
string
eval_result - The output of Estimator.evaluate on this checkpoint. This should be set only if checkpoint_path is provided (otherwise it is unclear which checkpoint this eval refers to).
Returns
-
object
- The string path to the exported directory.
object export(object estimator, string export_path, string checkpoint_path, IDictionary<object, object> eval_result)
Exports the given Estimator to a specific format.
Parameters
-
object
estimator - the Estimator to export.
-
string
export_path - A string containing a directory where to write the export.
-
string
checkpoint_path - The checkpoint path to export. If None (the default), the strategy may locate a checkpoint (e.g. the most recent) by itself.
-
IDictionary<object, object>
eval_result - The output of Estimator.evaluate on this checkpoint. This should be set only if checkpoint_path is provided (otherwise it is unclear which checkpoint this eval refers to).
Returns
-
object
- The string path to the exported directory.
object export(object estimator, string export_path, string checkpoint_path, string eval_result)
Exports the given Estimator to a specific format.
Parameters
-
object
estimator - the Estimator to export.
-
string
export_path - A string containing a directory where to write the export.
-
string
checkpoint_path - The checkpoint path to export. If None (the default), the strategy may locate a checkpoint (e.g. the most recent) by itself.
-
string
eval_result - The output of Estimator.evaluate on this checkpoint. This should be set only if checkpoint_path is provided (otherwise it is unclear which checkpoint this eval refers to).
Returns
-
object
- The string path to the exported directory.
Public properties
object export_fn get; set;
Exports the given Estimator to a specific format.