TensorShapeProto.Builder

clase final estática pública TensorShapeProto.Builder

 Dimensions of a tensor.
 
Protobuf tipo tensorflow.TensorShapeProto

Métodos públicos

TensorShapeProto.Builder
addAllDim (Iterable <? extiende los valores de TensorShapeProto.Dim >)
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
TensorShapeProto.Builder
addDim ( TensorShapeProto.Dim.Builder builderForValue)
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
TensorShapeProto.Builder
addDim (índice int, TensorShapeProto.Dim.Builder builderForValue)
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
TensorShapeProto.Builder
addDim (índice int, valor de TensorShapeProto.Dim )
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
TensorShapeProto.Builder
addDim (valor de TensorShapeProto.Dim )
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
TensorShapeProto.Dim.Builder
addDimBuilder ()
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
TensorShapeProto.Dim.Builder
addDimBuilder (índice int)
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
TensorShapeProto.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
TensorShapeProto
TensorShapeProto
TensorShapeProto.Builder
claro ()
TensorShapeProto.Builder
clearDim ()
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
TensorShapeProto.Builder
clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
TensorShapeProto.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
TensorShapeProto.Builder
clearUnknownRank ()
 If true, the number of dimensions in the shape is unknown.
TensorShapeProto.Builder
clonar ()
TensorShapeProto
com.google.protobuf.Descriptors.Descriptor estático final
com.google.protobuf.Descriptors.Descriptor
TensorShapeProto.Dim
getDim (índice int)
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
TensorShapeProto.Dim.Builder
getDimBuilder (índice int)
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
Lista < TensorShapeProto.Dim.Builder >
getDimBuilderList ()
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
En t
getDimCount ()
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
Lista < TensorShapeProto.Dim >
getDimList ()
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
TensorShapeProto.DimOrBuilder
getDimOrBuilder (índice int)
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
Lista <? extiende TensorShapeProto.DimOrBuilder >
getDimOrBuilderList ()
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
booleano
getUnknownRank ()
 If true, the number of dimensions in the shape is unknown.
booleano final
TensorShapeProto.Builder
mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TensorShapeProto.Builder
mergeFrom (com.google.protobuf.Message otro)
TensorShapeProto.Builder final
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
TensorShapeProto.Builder
removeDim (índice int)
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
TensorShapeProto.Builder
setDim (índice int, valor de TensorShapeProto.Dim )
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
TensorShapeProto.Builder
setDim (índice int, TensorShapeProto.Dim.Builder builderForValue)
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
TensorShapeProto.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
TensorShapeProto.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
TensorShapeProto.Builder final
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
TensorShapeProto.Builder
setUnknownRank (valor booleano)
 If true, the number of dimensions in the shape is unknown.

Métodos heredados

Métodos públicos

public TensorShapeProto.Builder addAllDim (Iterable <? extiende los valores de TensorShapeProto.Dim >)

 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.  If an entry has size -1, this
 corresponds to a dimension of unknown size. The names are
 optional.
 The order of entries in "dim" matters: It indicates the layout of the
 values in the tensor in-memory representation.
 The first entry in "dim" is the outermost dimension used to layout the
 values, the last entry is the innermost dimension.  This matches the
 in-memory layout of RowMajor Eigen tensors.
 If "dim.size()" > 0, "unknown_rank" must be false.
 
repeated .tensorflow.TensorShapeProto.Dim dim = 2;

public TensorShapeProto.Builder addDim ( TensorShapeProto.Dim.Builder builderForValue)

 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.  If an entry has size -1, this
 corresponds to a dimension of unknown size. The names are
 optional.
 The order of entries in "dim" matters: It indicates the layout of the
 values in the tensor in-memory representation.
 The first entry in "dim" is the outermost dimension used to layout the
 values, the last entry is the innermost dimension.  This matches the
 in-memory layout of RowMajor Eigen tensors.
 If "dim.size()" > 0, "unknown_rank" must be false.
 
repeated .tensorflow.TensorShapeProto.Dim dim = 2;

public TensorShapeProto.Builder addDim (int index, TensorShapeProto.Dim.Builder builderForValue)

 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.  If an entry has size -1, this
 corresponds to a dimension of unknown size. The names are
 optional.
 The order of entries in "dim" matters: It indicates the layout of the
 values in the tensor in-memory representation.
 The first entry in "dim" is the outermost dimension used to layout the
 values, the last entry is the innermost dimension.  This matches the
 in-memory layout of RowMajor Eigen tensors.
 If "dim.size()" > 0, "unknown_rank" must be false.
 
repeated .tensorflow.TensorShapeProto.Dim dim = 2;

public TensorShapeProto.Builder addDim (índice int, valor de TensorShapeProto.Dim )

 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.  If an entry has size -1, this
 corresponds to a dimension of unknown size. The names are
 optional.
 The order of entries in "dim" matters: It indicates the layout of the
 values in the tensor in-memory representation.
 The first entry in "dim" is the outermost dimension used to layout the
 values, the last entry is the innermost dimension.  This matches the
 in-memory layout of RowMajor Eigen tensors.
 If "dim.size()" > 0, "unknown_rank" must be false.
 
repeated .tensorflow.TensorShapeProto.Dim dim = 2;

public TensorShapeProto.Builder addDim (valor de TensorShapeProto.Dim )

 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.  If an entry has size -1, this
 corresponds to a dimension of unknown size. The names are
 optional.
 The order of entries in "dim" matters: It indicates the layout of the
 values in the tensor in-memory representation.
 The first entry in "dim" is the outermost dimension used to layout the
 values, the last entry is the innermost dimension.  This matches the
 in-memory layout of RowMajor Eigen tensors.
 If "dim.size()" > 0, "unknown_rank" must be false.
 
repeated .tensorflow.TensorShapeProto.Dim dim = 2;

public TensorShapeProto.Dim.Builder addDimBuilder ()

 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.  If an entry has size -1, this
 corresponds to a dimension of unknown size. The names are
 optional.
 The order of entries in "dim" matters: It indicates the layout of the
 values in the tensor in-memory representation.
 The first entry in "dim" is the outermost dimension used to layout the
 values, the last entry is the innermost dimension.  This matches the
 in-memory layout of RowMajor Eigen tensors.
 If "dim.size()" > 0, "unknown_rank" must be false.
 
repeated .tensorflow.TensorShapeProto.Dim dim = 2;

public TensorShapeProto.Dim.Builder addDimBuilder (índice int)

 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.  If an entry has size -1, this
 corresponds to a dimension of unknown size. The names are
 optional.
 The order of entries in "dim" matters: It indicates the layout of the
 values in the tensor in-memory representation.
 The first entry in "dim" is the outermost dimension used to layout the
 values, the last entry is the innermost dimension.  This matches the
 in-memory layout of RowMajor Eigen tensors.
 If "dim.size()" > 0, "unknown_rank" must be false.
 
repeated .tensorflow.TensorShapeProto.Dim dim = 2;

public TensorShapeProto.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)

public TensorShapeProto build ()

public TensorShapeProto buildPartial ()

public TensorShapeProto.Builder clear ()

public TensorShapeProto.Builder clearDim ()

 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.  If an entry has size -1, this
 corresponds to a dimension of unknown size. The names are
 optional.
 The order of entries in "dim" matters: It indicates the layout of the
 values in the tensor in-memory representation.
 The first entry in "dim" is the outermost dimension used to layout the
 values, the last entry is the innermost dimension.  This matches the
 in-memory layout of RowMajor Eigen tensors.
 If "dim.size()" > 0, "unknown_rank" must be false.
 
repeated .tensorflow.TensorShapeProto.Dim dim = 2;

public TensorShapeProto.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)

public TensorShapeProto.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public TensorShapeProto.Builder clearUnknownRank ()

 If true, the number of dimensions in the shape is unknown.
 If true, "dim.size()" must be 0.
 
bool unknown_rank = 3;

clon público de TensorShapeProto.Builder ()

public TensorShapeProto getDefaultInstanceForType ()

público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public TensorShapeProto.Dim getDim (índice int)

 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.  If an entry has size -1, this
 corresponds to a dimension of unknown size. The names are
 optional.
 The order of entries in "dim" matters: It indicates the layout of the
 values in the tensor in-memory representation.
 The first entry in "dim" is the outermost dimension used to layout the
 values, the last entry is the innermost dimension.  This matches the
 in-memory layout of RowMajor Eigen tensors.
 If "dim.size()" > 0, "unknown_rank" must be false.
 
repeated .tensorflow.TensorShapeProto.Dim dim = 2;

public TensorShapeProto.Dim.Builder getDimBuilder (índice int)

 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.  If an entry has size -1, this
 corresponds to a dimension of unknown size. The names are
 optional.
 The order of entries in "dim" matters: It indicates the layout of the
 values in the tensor in-memory representation.
 The first entry in "dim" is the outermost dimension used to layout the
 values, the last entry is the innermost dimension.  This matches the
 in-memory layout of RowMajor Eigen tensors.
 If "dim.size()" > 0, "unknown_rank" must be false.
 
repeated .tensorflow.TensorShapeProto.Dim dim = 2;

Lista pública < TensorShapeProto.Dim.Builder > getDimBuilderList ()

 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.  If an entry has size -1, this
 corresponds to a dimension of unknown size. The names are
 optional.
 The order of entries in "dim" matters: It indicates the layout of the
 values in the tensor in-memory representation.
 The first entry in "dim" is the outermost dimension used to layout the
 values, the last entry is the innermost dimension.  This matches the
 in-memory layout of RowMajor Eigen tensors.
 If "dim.size()" > 0, "unknown_rank" must be false.
 
repeated .tensorflow.TensorShapeProto.Dim dim = 2;

public int getDimCount ()

 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.  If an entry has size -1, this
 corresponds to a dimension of unknown size. The names are
 optional.
 The order of entries in "dim" matters: It indicates the layout of the
 values in the tensor in-memory representation.
 The first entry in "dim" is the outermost dimension used to layout the
 values, the last entry is the innermost dimension.  This matches the
 in-memory layout of RowMajor Eigen tensors.
 If "dim.size()" > 0, "unknown_rank" must be false.
 
repeated .tensorflow.TensorShapeProto.Dim dim = 2;

Lista pública < TensorShapeProto.Dim > getDimList ()

 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.  If an entry has size -1, this
 corresponds to a dimension of unknown size. The names are
 optional.
 The order of entries in "dim" matters: It indicates the layout of the
 values in the tensor in-memory representation.
 The first entry in "dim" is the outermost dimension used to layout the
 values, the last entry is the innermost dimension.  This matches the
 in-memory layout of RowMajor Eigen tensors.
 If "dim.size()" > 0, "unknown_rank" must be false.
 
repeated .tensorflow.TensorShapeProto.Dim dim = 2;

public TensorShapeProto.DimOrBuilder getDimOrBuilder (índice int)

 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.  If an entry has size -1, this
 corresponds to a dimension of unknown size. The names are
 optional.
 The order of entries in "dim" matters: It indicates the layout of the
 values in the tensor in-memory representation.
 The first entry in "dim" is the outermost dimension used to layout the
 values, the last entry is the innermost dimension.  This matches the
 in-memory layout of RowMajor Eigen tensors.
 If "dim.size()" > 0, "unknown_rank" must be false.
 
repeated .tensorflow.TensorShapeProto.Dim dim = 2;

Lista pública <? extiende TensorShapeProto.DimOrBuilder > getDimOrBuilderList ()

 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.  If an entry has size -1, this
 corresponds to a dimension of unknown size. The names are
 optional.
 The order of entries in "dim" matters: It indicates the layout of the
 values in the tensor in-memory representation.
 The first entry in "dim" is the outermost dimension used to layout the
 values, the last entry is the innermost dimension.  This matches the
 in-memory layout of RowMajor Eigen tensors.
 If "dim.size()" > 0, "unknown_rank" must be false.
 
repeated .tensorflow.TensorShapeProto.Dim dim = 2;

public boolean getUnknownRank ()

 If true, the number of dimensions in the shape is unknown.
 If true, "dim.size()" must be 0.
 
bool unknown_rank = 3;

public final boolean isInitialized ()

public TensorShapeProto.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOException

public TensorShapeProto.Builder mergeFrom (com.google.protobuf.Message other)

public final TensorShapeProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public TensorShapeProto.Builder removeDim (índice int)

 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.  If an entry has size -1, this
 corresponds to a dimension of unknown size. The names are
 optional.
 The order of entries in "dim" matters: It indicates the layout of the
 values in the tensor in-memory representation.
 The first entry in "dim" is the outermost dimension used to layout the
 values, the last entry is the innermost dimension.  This matches the
 in-memory layout of RowMajor Eigen tensors.
 If "dim.size()" > 0, "unknown_rank" must be false.
 
repeated .tensorflow.TensorShapeProto.Dim dim = 2;

public TensorShapeProto.Builder setDim (índice int, valor de TensorShapeProto.Dim )

 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.  If an entry has size -1, this
 corresponds to a dimension of unknown size. The names are
 optional.
 The order of entries in "dim" matters: It indicates the layout of the
 values in the tensor in-memory representation.
 The first entry in "dim" is the outermost dimension used to layout the
 values, the last entry is the innermost dimension.  This matches the
 in-memory layout of RowMajor Eigen tensors.
 If "dim.size()" > 0, "unknown_rank" must be false.
 
repeated .tensorflow.TensorShapeProto.Dim dim = 2;

public TensorShapeProto.Builder setDim (int index, TensorShapeProto.Dim.Builder builderForValue)

 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.  If an entry has size -1, this
 corresponds to a dimension of unknown size. The names are
 optional.
 The order of entries in "dim" matters: It indicates the layout of the
 values in the tensor in-memory representation.
 The first entry in "dim" is the outermost dimension used to layout the
 values, the last entry is the innermost dimension.  This matches the
 in-memory layout of RowMajor Eigen tensors.
 If "dim.size()" > 0, "unknown_rank" must be false.
 
repeated .tensorflow.TensorShapeProto.Dim dim = 2;

public TensorShapeProto.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)

public TensorShapeProto.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)

public final TensorShapeProto.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public TensorShapeProto.Builder setUnknownRank (valor booleano)

 If true, the number of dimensions in the shape is unknown.
 If true, "dim.size()" must be 0.
 
bool unknown_rank = 3;