tf.parse_tensor()

tf.parse_tensor(serialized, out_type, name=None) Transforms a serialized tensorflow.TensorProto proto into a Tensor. Args: serialized: A Tensor of type string. A scalar string containing a serialized TensorProto proto. out_type: A tf.DType. The type of the serialized tensor. The provided type must match the type of the serialized tensor and no implicit conversion will take place. name: A name for the operation (optional). Returns: A Tensor of type out_type. A Tensor of type out_type.

tf.parse_single_example()

tf.parse_single_example(serialized, features, name=None, example_names=None) Parses a single Example proto. Similar to parse_example, except: For dense tensors, the returned Tensor is identical to the output of parse_example, except there is no batch dimension, the output shape is the same as the shape given in dense_shape. For SparseTensors, the first (batch) column of the indices matrix is removed (the indices matrix is a column vector), the values vector is unchanged, and the first (batch_s

tf.parse_example()

tf.parse_example(serialized, features, name=None, example_names=None) Parses Example protos into a dict of tensors. Parses a number of serialized Example protos given in serialized. example_names may contain descriptive names for the corresponding serialized protos. These may be useful for debugging purposes, but they have no effect on the output. If not None, example_names must be the same length as serialized. This op parses serialized examples into a dictionary mapping keys to Tensor and Sp

tf.PaddingFIFOQueue.__init__()

tf.PaddingFIFOQueue.__init__(capacity, dtypes, shapes, names=None, shared_name=None, name='padding_fifo_queue') Creates a queue that dequeues elements in a first-in first-out order. A PaddingFIFOQueue has bounded capacity; supports multiple concurrent producers and consumers; and provides exactly-once delivery. A PaddingFIFOQueue holds a list of up to capacity elements. Each element is a fixed-length tuple of tensors whose dtypes are described by dtypes, and whose shapes are described by the s

tf.PaddingFIFOQueue

class tf.PaddingFIFOQueue A FIFOQueue that supports batching variable-sized tensors by padding. A PaddingFIFOQueue may contain components with dynamic shape, while also supporting dequeue_many. See the constructor for more details. See tf.QueueBase for a description of the methods on this class.

tf.OpError.__str__()

tf.OpError.__str__()

tf.OpError.__init__()

tf.OpError.__init__(node_def, op, message, error_code) Creates a new OpError indicating that a particular op failed. Args: node_def: The node_def_pb2.NodeDef proto representing the op that failed, if known; otherwise None. op: The ops.Operation that failed, if known; otherwise None. message: The message string describing the failure. error_code: The error_codes_pb2.Code describing the error.

tf.OpError.op

tf.OpError.op The operation that failed, if known. N.B. If the failed op was synthesized at runtime, e.g. a Send or Recv op, there will be no corresponding Operation object. In that case, this will return None, and you should instead use the OpError.node_def to discover information about the op. Returns: The Operation that failed, or None.

tf.OpError.node_def

tf.OpError.node_def The NodeDef proto representing the op that failed.

tf.OpError.message

tf.OpError.message The error message that describes the error.