Class TensorRepresentation.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, TensorRepresentationOrBuilder
    Enclosing class:
    TensorRepresentation

    public static final class TensorRepresentation.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<TensorRepresentation.Builder>
    implements TensorRepresentationOrBuilder
     A TensorRepresentation captures the intent for converting columns in a
     dataset to TensorFlow Tensors (or more generally, tf.CompositeTensors).
     Note that one tf.CompositeTensor may consist of data from multiple columns,
     for example, a N-dimensional tf.SparseTensor may need N + 1 columns to
     provide the sparse indices and values.
     Note that the "column name" that a TensorRepresentation needs is a
     string, not a Path -- it means that the column name identifies a top-level
     Feature in the schema (i.e. you cannot specify a Feature nested in a STRUCT
     Feature).
     
    Protobuf type tensorflow.metadata.v0.TensorRepresentation