الواجهة الثابتة العامة TensorShapeProto.DimOrBuilder
الفئات الفرعية غير المباشرة المعروفة |
الأساليب العامة
سلسلة مجردة | الحصول على الاسم () Optional name of the tensor dimension. |
مجردة com.google.protobuf.ByteString | الحصول على اسم بايت () Optional name of the tensor dimension. |
مجردة طويلة | الحصول على الحجم () 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;