lớp cuối cùng tĩnh công khai TensorShapeProto.Dim.Builder
One dimension of the tensor.Loại
tensorflow.TensorShapeProto.Dim
Phương pháp công cộng
TensorShapeProto.Dim.Builder | addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
TensorShapeProto.Dim | xây dựng () |
TensorShapeProto.Dim | |
TensorShapeProto.Dim.Builder | thông thoáng () |
TensorShapeProto.Dim.Builder | ClearField (trường 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 | dòng vô tính () |
TensorShapeProto.Dim | |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
com.google.protobuf.Descriptors.Descriptor | |
Sợi dây | lấy Tên () Optional name of the tensor dimension. |
com.google.protobuf.ByteString | getNameBytes () Optional name of the tensor dimension. |
dài | lấyKích thước () Size of the tensor in that dimension. |
boolean cuối cùng | |
TensorShapeProto.Dim.Builder | mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
TensorShapeProto.Dim.Builder | mergeFrom (com.google.protobuf.Message other) |
TensorShapeProto.Dim.Builder cuối cùng | hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
TensorShapeProto.Dim.Builder | setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
TensorShapeProto.Dim.Builder | setName (Giá trị chuỗi) Optional name of the tensor dimension. |
TensorShapeProto.Dim.Builder | setNameBytes (giá trị com.google.protobuf.ByteString) Optional name of the tensor dimension. |
TensorShapeProto.Dim.Builder | setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng) |
TensorShapeProto.Dim.Builder | setSize (giá trị dài) Size of the tensor in that dimension. |
TensorShapeProto.Dim.Builder cuối cùng | setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
Phương pháp kế thừa
Phương pháp công cộng
công khai TensorShapeProto.Dim.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
công khai TensorShapeProto.Dim.Builder clearField (trường com.google.protobuf.Descriptors.FieldDescriptor)
công khai TensorShapeProto.Dim.Builder clearName ()
string name = 2;
Optional name of the tensor dimension.= 2;
công khai TensorShapeProto.Dim.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
công khai 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;
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()
Chuỗi công khai getName ()
Optional name of the tensor dimension.
string name = 2;
com.google.protobuf.ByteString getNameBytes công khai ()
string name = 2;
Optional name of the tensor dimension.= 2;
công khai 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;
boolean cuối cùng công khai được khởi tạo ()
công khai TensorShapeProto.Dim.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
trận chung kết công khai TensorShapeProto.Dim.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
công khai TensorShapeProto.Dim.Builder setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
công khai TensorShapeProto.Dim.Builder setName (Giá trị chuỗi)
string name = 2;
Optional name of the tensor dimension.= 2;
công khai TensorShapeProto.Dim.Builder setNameBytes (giá trị com.google.protobuf.ByteString)
Optional name of the tensor dimension.
string name = 2;
công khai TensorShapeProto.Dim.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor trường, chỉ mục int, giá trị đối tượng)
public TensorShapeProto.Dim.Builder setSize (giá trị dài)
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;