publiczna klasa końcowa TensorShapeProto
Dimensions of a tensor.Protobuf typu
tensorflow.TensorShapeProto
Klasy zagnieżdżone
klasa | TensorShapeProto.Builder | Dimensions of a tensor. | |
klasa | TensorShapeProto.Dim | One dimension of the tensor. | |
interfejs | TensorShapeProto.DimOrBuilder |
Stałe
wew | DIM_FIELD_NUMBER | |
wew | UNKNOWN_RANK_FIELD_NUMBER |
Metody publiczne
wartość logiczna | równa się (obiekt obiektu) |
statyczny TensorShapeProto | |
TensorShapeProto | |
końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
TensorShapeProto.Dim | getDim (indeks int) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
wew | pobierzDimCount () 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 (indeks int) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
Lista<? rozszerza TensorShapeProto.DimOrBuilder > | getDimOrBuilderList () Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
wew | |
końcowy com.google.protobuf.UnknownFieldSet | |
wartość logiczna | getUnknownRank () If true, the number of dimensions in the shape is unknown. |
wew | hashCode () |
końcowa wartość logiczna | |
statyczny TensorShapeProto.Builder | newBuilder (prototyp TensorShapeProto ) |
statyczny TensorShapeProto.Builder | |
TensorShapeProto.Builder | |
statyczny TensorShapeProto | parseDelimitedFrom (wejście strumienia wejściowego) |
statyczny TensorShapeProto | parseDelimitedFrom (dane wejścioweInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
statyczny TensorShapeProto | parseFrom (dane ByteBuffer) |
statyczny TensorShapeProto | parseFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
statyczny TensorShapeProto | parseFrom (dane ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
statyczny TensorShapeProto | parseFrom (wejście com.google.protobuf.CodedInputStream) |
statyczny TensorShapeProto | parseFrom (bajt [] dane, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry) |
statyczny TensorShapeProto | parseFrom (dane com.google.protobuf.ByteString) |
statyczny TensorShapeProto | parseFrom (dane wejścioweInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
statyczny TensorShapeProto | parseFrom (dane com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
statyczny | parser () |
TensorShapeProto.Builder | |
próżnia | writeTo (wyjście com.google.protobuf.CodedOutputStream) |
Metody dziedziczone
Stałe
publiczny statyczny końcowy int DIM_FIELD_NUMBER
Wartość stała: 2
publiczny statyczny końcowy int UNKNOWN_RANK_FIELD_NUMBER
Wartość stała: 3
Metody publiczne
publiczna wartość logiczna równa się (obiekt obiektu)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public TensorShapeProto.Dim getDim (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;
publiczny 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;
public List< 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 (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;
lista publiczna<? rozszerza 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;
publiczny getParserForType ()
publiczny int getSerializedSize ()
publiczny finał com.google.protobuf.UnknownFieldSet getUnknownFields ()
publiczna wartość logiczna getUnknownRank ()
If true, the number of dimensions in the shape is unknown. If true, "dim.size()" must be 0.
bool unknown_rank = 3;
publiczny int hashCode ()
publiczna końcowa wartość logiczna isInitialized ()
publiczny statyczny TensorShapeProto parseDelimitedFrom (wejście strumienia wejściowego)
Rzuca
Wyjątek IO |
---|
publiczny statyczny TensorShapeProto parseDelimitedFrom (dane wejściowe wejściowe, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
Wyjątek IO |
---|
public static TensorShapeProto parseFrom (dane ByteBuffer)
Rzuca
Nieprawidłowy wyjątekProtocolBufferException |
---|
publiczny statyczny TensorShapeProto parseFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
Wyjątek IO |
---|
public static TensorShapeProto parseFrom (dane ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
Nieprawidłowy wyjątekProtocolBufferException |
---|
public static TensorShapeProto parseFrom (wejście com.google.protobuf.CodedInputStream)
Rzuca
Wyjątek IO |
---|
publiczny statyczny TensorShapeProto parseFrom (bajt [] dane, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
Nieprawidłowy wyjątekProtocolBufferException |
---|
publiczny statyczny TensorShapeProto parseFrom (dane com.google.protobuf.ByteString)
Rzuca
Nieprawidłowy wyjątekProtocolBufferException |
---|
publiczny statyczny TensorShapeProto parseFrom (dane wejściowe wejściowe, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
Wyjątek IO |
---|
publiczny statyczny TensorShapeProto parseFrom (com.google.protobuf.ByteString dane, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
Nieprawidłowy wyjątekProtocolBufferException |
---|
publiczna statyka parser ()
public void writeTo (wyjście com.google.protobuf.CodedOutputStream)
Rzuca
Wyjątek IO |
---|