パブリック静的インターフェイスTensorShapeProto.DimOrBuilder
既知の間接サブクラス |
パブリックメソッド
抽象文字列 | getName () Optional name of the tensor dimension. |
抽象的な com.google.protobuf.ByteString | getNameBytes () Optional name of the tensor dimension. |
抽象的な長い | getSize () Size of the tensor in that dimension. |
パブリックメソッド
パブリック抽象 String getName ()
Optional name of the tensor dimension.
string name = 2;
パブリック抽象 com.google.protobuf.ByteString getNameBytes ()
Optional name of the tensor dimension.
string name = 2;
パブリック抽象long getSize ()
Size of the tensor in that dimension. This value must be >= -1, but values of -1 are reserved for "unknown" shapes (values of -1 mean "unknown" dimension). Certain wrappers that work with TensorShapeProto may fail at runtime when deserializing a TensorShapeProto containing a dim value of -1.
int64 size = 1;