genel final sınıfı TensorShapeProto
Dimensions of a tensor.Protobuf türü
tensorflow.TensorShapeProto
İç İçe Sınıflar
sınıf | TensorShapeProto.Builder | Dimensions of a tensor. | |
sınıf | TensorShapeProto.Dim | One dimension of the tensor. | |
arayüz | TensorShapeProto.DimOrBuilder |
Sabitler
int | DIM_FIELD_NUMBER | |
int | UNKNOWN_RANK_FIELD_NUMBER |
Genel Yöntemler
boolean | eşittir (Nesne nesnesi) |
statik TensorShapeProto | |
TensorShapeProto | |
final statik com.google.protobuf.Descriptors.Descriptor | |
TensorShapeProto.Dim | getDim (int dizini) 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. |
Liste< TensorShapeProto.Dim > | getDimList () Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
TensorShapeProto.DimOrBuilder | getDimOrBuilder (int dizini) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
Liste<? TensorShapeProto.DimOrBuilder'ı genişletir > | getDimOrBuilderList () Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
int | |
final com.google.protobuf.UnknownFieldSet | |
boolean | getUnknownRank () If true, the number of dimensions in the shape is unknown. |
int | hash kodu () |
son boole değeri | Başlatıldı () |
statik TensorShapeProto.Builder | yeniİnşaatçı ( TensorShapeProto prototipi) |
statik TensorShapeProto.Builder | yeniİnşaatçı () |
TensorShapeProto.Builder | |
statik TensorShapeProto | parseDelimitedFrom (InputStream girişi) |
statik TensorShapeProto | parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik TensorShapeProto | parseFrom (ByteBuffer verileri) |
statik TensorShapeProto | parseFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik TensorShapeProto | parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik TensorShapeProto | ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi) |
statik TensorShapeProto | parseFrom (byte[] verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik TensorShapeProto | ayrıştırmaFrom (com.google.protobuf.ByteString verileri) |
statik TensorShapeProto | parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik TensorShapeProto | parseFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statik | ayrıştırıcı () |
TensorShapeProto.Builder | inşaatçıya () |
geçersiz | writeTo (com.google.protobuf.CodedOutputStream çıkışı) |
Kalıtsal Yöntemler
Sabitler
genel statik final int DIM_FIELD_NUMBER
Sabit Değer: 2
genel statik final int UNKNOWN_RANK_FIELD_NUMBER
Sabit Değer: 3
Genel Yöntemler
genel boole eşittir (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public TensorShapeProto.Dim getDim (int dizini)
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;
genel Liste< 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 (int dizini)
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;
genel liste<? TensorShapeProto.DimOrBuilder'ı genişletir > 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;
halk getParserForType ()
public int getSerializedSize ()
genel final com.google.protobuf.UnknownFieldSet getUnknownFields ()
genel boolean getUnknownRank ()
If true, the number of dimensions in the shape is unknown. If true, "dim.size()" must be 0.
bool unknown_rank = 3;
genel int hashCode ()
genel final boolean isInitialized ()
genel statik TensorShapeProto parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
genel statik TensorShapeProto ayrıştırmaFrom (ByteBuffer verileri)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik TensorShapeProto ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
genel statik TensorShapeProto ayrıştırmaFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik TensorShapeProto ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi)
Atar
IO İstisnası |
---|
genel statik TensorShapeProto ayrıştırmaFrom (bayt[] verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik TensorShapeProto ayrıştırmaFrom (com.google.protobuf.ByteString verileri)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik TensorShapeProto parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
genel statik TensorShapeProto ayrıştırmaFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
Geçersiz ProtokolBufferException |
---|
genel statik ayrıştırıcı ()
genel geçersiz writeTo (com.google.protobuf.CodedOutputStream çıkışı)
Atar
IO İstisnası |
---|