tf.WholeFileReader.num_work_units_completed()

tf.WholeFileReader.num_work_units_completed(name=None) Returns the number of work units this reader has finished processing. Args: name: A name for the operation (optional). Returns: An int64 Tensor.

tf.WholeFileReader.num_records_produced()

tf.WholeFileReader.num_records_produced(name=None) Returns the number of records this reader has produced. This is the same as the number of Read executions that have succeeded. Args: name: A name for the operation (optional). Returns: An int64 Tensor.

tf.WholeFileReader

class tf.WholeFileReader A Reader that outputs the entire contents of a file as a value. To use, enqueue filenames in a Queue. The output of Read will be a filename (key) and the contents of that file (value). See ReaderBase for supported methods.

tf.where()

tf.where(input, name=None) Returns locations of true values in a boolean tensor. This operation returns the coordinates of true elements in input. The coordinates are returned in a 2-D tensor where the first dimension (rows) represents the number of true elements, and the second dimension (columns) represents the coordinates of the true elements. Keep in mind, the shape of the output tensor can vary depending on how many true values there are in input. Indices are output in row-major order. Fo

tf.VarLenFeature.__repr__()

tf.VarLenFeature.__repr__() Return a nicely formatted representation string

tf.VarLenFeature.__new__()

tf.VarLenFeature.__new__(_cls, dtype) Create new instance of VarLenFeature(dtype,)

tf.VarLenFeature.__getstate__()

tf.VarLenFeature.__getstate__() Exclude the OrderedDict from pickling

tf.VarLenFeature.__getnewargs__()

tf.VarLenFeature.__getnewargs__() Return self as a plain tuple. Used by copy and pickle.

tf.VarLenFeature.dtype

tf.VarLenFeature.dtype Alias for field number 0

tf.VarLenFeature

class tf.VarLenFeature Configuration for parsing a variable-length input feature. Fields: dtype: Data type of input.