LostTech.TensorFlow : API Documentation

Type ModelFnOps

Namespace tensorflow.contrib.learn

Parent PythonObjectContainer

Interfaces IModelFnOps

Ops returned from a model_fn.

THIS CLASS IS DEPRECATED. See [contrib/learn/README.md](https://www.tensorflow.org/code/tensorflow/contrib/learn/README.md) for general migration instructions.

Methods

Properties

Public instance methods

EstimatorSpec estimator_spec(string default_serving_output_alternative_key)

Creates an equivalent `EstimatorSpec`.
Parameters
string default_serving_output_alternative_key
Required for multiple heads. If you have multiple entries in `output_alternatives` dict (comparable to multiple heads), `EstimatorSpec` requires a default head that will be used if a Servo request does not explicitly mention which head to infer on. Pass the key of the output alternative here that you want to designate as default. A separate ExportOutpout for this default head will be added to the export_outputs dict with the special key saved_model.DEFAULT_SERVING_SIGNATURE_DEF_KEY, unless there is already an enry in output_alternatives with this special key.
Returns
EstimatorSpec
Instance of `EstimatorSpec` that is equivalent to this `ModelFnOps`

object estimator_spec_dyn(object default_serving_output_alternative_key)

Creates an equivalent `EstimatorSpec`.
Parameters
object default_serving_output_alternative_key
Required for multiple heads. If you have multiple entries in `output_alternatives` dict (comparable to multiple heads), `EstimatorSpec` requires a default head that will be used if a Servo request does not explicitly mention which head to infer on. Pass the key of the output alternative here that you want to designate as default. A separate ExportOutpout for this default head will be added to the export_outputs dict with the special key saved_model.DEFAULT_SERVING_SIGNATURE_DEF_KEY, unless there is already an enry in output_alternatives with this special key.
Returns
object
Instance of `EstimatorSpec` that is equivalent to this `ModelFnOps`

Public properties

object eval_metric_ops get; set;

object loss get; set;

object mode get; set;

object output_alternatives get; set;

object predictions get; set;

object PythonObject get;

object scaffold get; set;

object train_op get; set;

object training_chief_hooks get; set;

object training_hooks get; set;