کلاس نهایی استاتیک عمومی TensorShapeProto.Dim.Builder
One dimension of the tensor.نوع Protobuf
tensorflow.TensorShapeProto.Dim
روش های عمومی
TensorShapeProto.Dim.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object) |
TensorShapeProto.Dim | ساختن () |
TensorShapeProto.Dim | ساخت جزئی () |
TensorShapeProto.Dim.Builder | روشن () |
TensorShapeProto.Dim.Builder | clearField (فیلد com.google.protobuf.Descriptors.FieldDescriptor) |
TensorShapeProto.Dim.Builder | clearName () Optional name of the tensor dimension. |
TensorShapeProto.Dim.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TensorShapeProto.Dim.Builder | clearSize () Size of the tensor in that dimension. |
TensorShapeProto.Dim.Builder | شبیه () |
TensorShapeProto.Dim | |
نهایی static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
رشته | 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. |
بولی نهایی | |
TensorShapeProto.Dim.Builder | mergeFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorShapeProto.Dim.Builder | mergeFrom (com.google.protobuf.Message other) |
TensorShapeProto.Dim.Builder نهایی | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
TensorShapeProto.Dim.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object) |
TensorShapeProto.Dim.Builder | setName (مقدار رشته) Optional name of the tensor dimension. |
TensorShapeProto.Dim.Builder | setNameBytes (مقدار com.google.protobuf.ByteString) Optional name of the tensor dimension. |
TensorShapeProto.Dim.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor، نمایه int، مقدار Object) |
TensorShapeProto.Dim.Builder | setSize (مقدار طولانی) Size of the tensor in that dimension. |
TensorShapeProto.Dim.Builder نهایی | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
روش های ارثی
روش های عمومی
عمومی TensorShapeProto.Dim.Builder addRepeatedField (فیلد com.google.protobuf.Descriptors.FieldDescriptor، مقدار Object)
عمومی TensorShapeProto.Dim.Builder clearField (فیلد com.google.protobuf.Descriptors.FieldDescriptor)
عمومی TensorShapeProto.Dim.Builder clearName ()
Optional name of the tensor dimension.
string name = 2;
عمومی TensorShapeProto.Dim.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
عمومی TensorShapeProto.Dim.Builder clearSize ()
اندازه
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;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
عمومی com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
رشته عمومی getName ()
Optional name of the tensor dimension.
string name = 2;
عمومی com.google.protobuf.ByteString getNameBytes ()
Optional name of the tensor dimension.
string name = 2;
public 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;
بولین نهایی عمومی isInitialized ()
عمومی TensorShapeProto.Dim.Builder mergeFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
IOException |
---|
عمومی نهایی TensorShapeProto.Dim.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public TensorShapeProto.Dim.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)
عمومی TensorShapeProto.Dim.Builder setName (مقدار رشته)
Optional name of the tensor dimension.
string name = 2;
عمومی TensorShapeProto.Dim.Builder setNameBytes (مقدار com.google.protobuf.ByteString)
Optional name of the tensor dimension.
string name = 2;
عمومی TensorShapeProto.Dim.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor، نمایه int، مقدار شیء)
عمومی TensorShapeProto.Dim.Builder setSize (مقدار طولانی)
اندازه
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;