TensorShapeProto.DimOrBuilder

giao diện tĩnh công cộng TensorShapeProto.DimOrBuilder
Các lớp con gián tiếp đã biết

Phương pháp công khai

chuỗi trừu tượng
lấy Tên ()
 Optional name of the tensor dimension.
tóm tắt com.google.protobuf.ByteString
getNameBytes ()
 Optional name of the tensor dimension.
trừu tượng dài
lấyKích thước ()
 Size of the tensor in that dimension.

Phương pháp công khai

Chuỗi tóm tắt công khai getName ()

string name = 2;

 Optional name of the tensor dimension.
 
= 2;

tóm tắt công khai com.google.protobuf.ByteString getNameBytes ()

string name = 2;

 Optional name of the tensor dimension.
 
= 2;

tóm tắt công khai dài getSize ()

kích thước

 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;