Home | History | Annotate | Download | only in utils

Lines Matching refs:features

38                                         ['features',
44 Training and eval input_fn should return a `(features, labels)` tuple.
47 features: A dict of string to `Tensor` or `SparseTensor`, specifying the
48 features to be passed to the model.
64 feature_spec, and returns all parsed Tensors as features. This input_fn is
81 features = parsing_ops.parse_example(serialized_tf_example, feature_spec)
83 return InputFnOps(features, labels, inputs)
87 def build_default_serving_input_fn(features, default_batch_size=None):
90 Creates an input_fn that expects all features to be fed directly.
95 features: a dict of string to `Tensor`.
103 """an input_fn that expects all features to be fed directly."""
105 for name, t in features.items():