tf.raw_ops.ParseSingleExample

Transforms a tf.Example proto (as a string) into typed tensors.

serialized A Tensor of type string. A vector containing a batch of binary serialized Example protos.
dense_defaults A list of Tensor objects with types from: float32, int64, string. A list of Tensors (some may be empty), whose length matches the length of dense_keys. dense_defaults[j] provides default values when the example's feature_map lacks dense_key[j]. If an empty Tensor is provided for dense_defaults[j], then the Feature dense_keys[j] is required. The input type is inferred from dense_defaults[j], even when it's empty. If dense_defaults[j] is not empty, and dense_shapes[j] is fully defined, then the shape of dense_defaults[j] must match that of dense_shapes[j]. If dense_shapes[j] has an undefined major dimension (variable strides dense feature), dense_defaults[j] must contain a single element: the padding element.
num_sparse An int that is >= 0. The number of sparse features to be parsed from the example. This must match the lengths of sparse_keys and sparse_types.
sparse_keys A list of strings. A list of num_sparse strings. The keys expected in the Examples' features associated with sparse values.
dense_keys A list of strings. The keys expected in the Examples' features associated with dense values.
sparse_types A list of tf.DTypes from: tf.float32, tf.int64, tf.