TensorShapeProto

classe finale pubblica TensorShapeProto

 Dimensions of a tensor.
 
Tipo protobuf tensorflow.TensorShapeProto

Classi nidificate

classe TensorShapeProto.Builder
 Dimensions of a tensor. 
classe TensorShapeProto.Dim
 One dimension of the tensor. 
interfaccia TensorShapeProto.DimOrBuilder

Costanti

int DIM_FIELD_NUMBER
int UNKNOWN_RANK_FIELD_NUMBER

Metodi pubblici

booleano
è uguale a (Oggetto oggetto)
TensorShapeProto statico
TensorShapeProto
com.google.protobuf.Descriptors.Descriptor statico finale
TensorShapeProto.Dim
getDim (indice int)
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
int
getDimCount ()
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
Elenco< TensorShapeProto.Dim >
getDimLista ()
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
TensorShapeProto.DimOrBuilder
getDimOrBuilder (indice int)
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
Elenco<? estende TensorShapeProto.DimOrBuilder >
getDimOrBuilderList ()
 Dimensions of the tensor, such as {"input", 30}, {"output", 40}
 for a 30 x 40 2D tensor.
int
finale com.google.protobuf.UnknownFieldSet
booleano
getUnknownRank ()
 If true, the number of dimensions in the shape is unknown.
int
booleano finale
TensorShapeProto.Builder statico
TensorShapeProto.Builder statico
TensorShapeProto.Builder
TensorShapeProto statico
parseDelimitedFrom (input InputStream)
TensorShapeProto statico
parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TensorShapeProto statico
parseFrom (dati ByteBuffer)
TensorShapeProto statico
parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
TensorShapeProto statico
parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TensorShapeProto statico
parseFrom (ingresso com.google.protobuf.CodedInputStream)
TensorShapeProto statico
parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TensorShapeProto statico
parseFrom (dati com.google.protobuf.ByteString)
TensorShapeProto statico
parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TensorShapeProto statico
parseFrom (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
statico
TensorShapeProto.Builder
vuoto
writeTo (output com.google.protobuf.CodedOutputStream)

Metodi ereditati

Costanti

public static final int DIM_FIELD_NUMBER

Valore costante: 2

public static final int UNKNOWN_RANK_FIELD_NUMBER

Valore costante: 3

Metodi pubblici

booleano pubblico è uguale a (Oggetto obj)

pubblico statico TensorShapeProto getDefaultInstance ()

public TensorShapeProto getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public TensorShapeProto.Dim getDim (indice 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;

pubblico 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;

Elenco pubblico< 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 (indice 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;

Elenco pubblico<? estende 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;

pubblico getParserForType ()

public int getSerializedSize ()

pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()

booleano pubblico getUnknownRank ()

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

public int hashCode ()

public final booleano isInitialized ()

pubblico statico TensorShapeProto.Builder newBuilder (prototipo TensorShapeProto )

pubblico statico TensorShapeProto.Builder newBuilder ()

pubblico TensorShapeProto.Builder newBuilderForType ()

pubblico statico TensorShapeProto parseDelimitedFrom (input InputStream)

Lancia
IOException

pubblico statico TensorShapeProto parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

parseFrom pubblico statico TensorShapeProto (dati ByteBuffer)

Lancia
InvalidProtocolBufferException

parseFrom pubblico statico TensorShapeProto (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)

Lancia
IOException

parseFrom pubblico statico TensorShapeProto (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

parseFrom pubblico statico TensorShapeProto (input com.google.protobuf.CodedInputStream)

Lancia
IOException

pubblico statico TensorShapeProto parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

parseFrom pubblico statico TensorShapeProto (dati com.google.protobuf.ByteString)

Lancia
InvalidProtocolBufferException

pubblico statico TensorShapeProto parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

pubblico statico TensorShapeProto parseFrom (dati com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

pubblico statico analizzatore ()

pubblico TensorShapeProto.Builder toBuilder ()

public void writeTo (output com.google.protobuf.CodedOutputStream)

Lancia
IOException