TensorShapeProto kelas akhir publik
Dimensions of a tensor.Protobuf tipe
tensorflow.TensorShapeProto
Kelas Bersarang
kelas | TensorShapeProto.Builder | Dimensions of a tensor. | |
kelas | TensorShapeProto.Dim | One dimension of the tensor. | |
antarmuka | TensorShapeProto.DimOrBuilder |
Konstanta
ke dalam | DIM_FIELD_NUMBER | |
ke dalam | UNKNOWN_RANK_FIELD_NUMBER |
Metode Publik
boolean | sama dengan (Objek objek) |
TensorShapeProto statis | |
TensorBentukProto | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
TensorShapeProto.Dim | getDim (indeks int) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
ke dalam | dapatkan DimCount () Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
Daftar< TensorShapeProto.Dim > | dapatkanDimList () Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
TensorShapeProto.DimOrBuilder | getDimOrBuilder (indeks int) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
Daftar<? memperluas TensorShapeProto.DimOrBuilder > | dapatkanDimOrBuilderList () Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
ke dalam | |
final com.google.protobuf.UnknownFieldSet | |
boolean | dapatkanPeringkatTidak Diketahui () If true, the number of dimensions in the shape is unknown. |
ke dalam | Kode hash () |
boolean terakhir | |
TensorShapeProto.Builder statis | newBuilder (prototipe TensorShapeProto ) |
TensorShapeProto.Builder statis | |
TensorShapeProto.Builder | |
TensorShapeProto statis | parseDelimitedFrom (masukan Aliran Masukan) |
TensorShapeProto statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorShapeProto statis | parseFrom (data ByteBuffer) |
TensorShapeProto statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorShapeProto statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorShapeProto statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
TensorShapeProto statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorShapeProto statis | parseFrom (com.google.protobuf.ByteString data) |
TensorShapeProto statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorShapeProto statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statis | pengurai () |
TensorShapeProto.Builder | |
ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int akhir statis publik DIM_FIELD_NUMBER
Nilai Konstan: 2
int akhir statis publik UNKNOWN_RANK_FIELD_NUMBER
Nilai Konstan: 3
Metode Publik
boolean publik sama (Obj objek)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
TensorShapeProto.Dim getDim publik (indeks 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;
int publik 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;
Daftar publik< 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;
TensorShapeProto.DimOrBuilder publik getDimOrBuilder (int indeks)
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;
Daftar Publik<? memperluas 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;
publik dapatkanParserForType ()
publik int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
boolean publik getUnknownRank ()
If true, the number of dimensions in the shape is unknown. If true, "dim.size()" must be 0.
bool unknown_rank = 3;
kode hash int publik ()
boolean akhir publik diinisialisasi ()
TensorShapeProto statis publik parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
TensorShapeProto statis publik parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
TensorShapeProto statis publik parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
TensorShapeProto statis publik parseFrom (com.google.protobuf.CodedInputStream input)
Melempar
Pengecualian IO |
---|
TensorShapeProto statis publik parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
TensorShapeProto statis publik parseFrom (com.google.protobuf.ByteString data)
Melempar
InvalidProtocolBufferException |
---|
TensorShapeProto statis publik parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
TensorShapeProto statis publik parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
statis publik pengurai ()
public void writeTo (com.google.protobuf.CodedOutputStream keluaran)
Melempar
Pengecualian IO |
---|