LostTech.TensorFlow : API Documentation

Type saved_model_export_utils

Namespace tensorflow.contrib.learn.saved_model_export_utils

Public static methods

IDictionary<string, object> build_all_signature_defs(IDictionary<string, object> input_alternatives, IDictionary<object, object> output_alternatives, string actual_default_output_alternative_key)

object build_all_signature_defs_dyn(object input_alternatives, object output_alternatives, object actual_default_output_alternative_key)

object build_standardized_signature_def(IDictionary<string, object> input_tensors, IDictionary<string, object> output_tensors, int problem_type)

object build_standardized_signature_def_dyn(object input_tensors, object output_tensors, object problem_type)

ExportStrategy extend_export_strategy(ExportStrategy base_export_strategy, PythonFunctionContainer post_export_fn, string post_export_name)

object extend_export_strategy_dyn(object base_export_strategy, object post_export_fn, object post_export_name)

void garbage_collect_exports(string export_dir_base, Nullable<int> exports_to_keep)

object garbage_collect_exports_dyn(object export_dir_base, object exports_to_keep)

object get_input_alternatives(InputFnOps input_ops)

object get_input_alternatives(ValueTuple<IDictionary<string, IGraphNodeBase>, object> input_ops)

object get_input_alternatives_dyn(object input_ops)

object get_most_recent_export(string export_dir_base)

object get_most_recent_export_dyn(object export_dir_base)

ValueTuple<object, object> get_output_alternatives(ModelFnOps model_fn_ops, string default_output_alternative_key)

object get_output_alternatives_dyn(object model_fn_ops, object default_output_alternative_key)

object get_temp_export_dir(object timestamped_export_dir)

object get_temp_export_dir_dyn(object timestamped_export_dir)

object get_timestamped_export_dir(string export_dir_base)

object get_timestamped_export_dir_dyn(object export_dir_base)

ExportStrategy make_best_model_export_strategy(PythonFunctionContainer serving_input_fn, int exports_to_keep, string model_dir, string event_file_pattern, PythonFunctionContainer compare_fn, object default_output_alternative_key, object strip_default_attrs)

object make_best_model_export_strategy_dyn(object serving_input_fn, ImplicitContainer<T> exports_to_keep, object model_dir, object event_file_pattern, object compare_fn, object default_output_alternative_key, object strip_default_attrs)

ExportStrategy make_parsing_export_strategy(IEnumerable<object> feature_columns, object default_output_alternative_key, object assets_extra, bool as_text, int exports_to_keep, bool target_core, object strip_default_attrs)

object make_parsing_export_strategy_dyn(object feature_columns, object default_output_alternative_key, object assets_extra, ImplicitContainer<T> as_text, ImplicitContainer<T> exports_to_keep, ImplicitContainer<T> target_core, object strip_default_attrs)

Public properties

PythonFunctionContainer BestModelSelector_fn get;

PythonFunctionContainer build_all_signature_defs_fn get;

PythonFunctionContainer build_standardized_signature_def_fn get;

PythonFunctionContainer extend_export_strategy_fn get;

PythonFunctionContainer garbage_collect_exports_fn get;

PythonFunctionContainer get_input_alternatives_fn get;

PythonFunctionContainer get_most_recent_export_fn get;

PythonFunctionContainer get_output_alternatives_fn get;

PythonFunctionContainer get_temp_export_dir_fn get;

PythonFunctionContainer get_timestamped_export_dir_fn get;

PythonFunctionContainer make_best_model_export_strategy_fn get;

PythonFunctionContainer make_parsing_export_strategy_fn get;

Public fields

string DEFAULT_INPUT_ALTERNATIVE_KEY

return string

string FEATURES_INPUT_ALTERNATIVE_KEY

return string

int MAX_DIRECTORY_CREATION_ATTEMPTS

return int