TensorShapeProto.DimOrBuilder

공개 정적 인터페이스 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.

공개 방법

공개 추상 문자열 getName ()

 Optional name of the tensor dimension.
 
string name = 2;

공개 추상 com.google.protobuf.ByteString getNameBytes ()

 Optional name of the tensor dimension.
 
string name = 2;

공개 추상 긴 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;