lớp cuối cùng tĩnh công khai AllocationDescription.Builder
Protobuf loại tensorflow.AllocationDescription
Phương pháp công cộng
| Phân bổDescription.Builder | addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
| Phân bổMô tả | xây dựng () |
| Phân bổMô tả | |
| Phân bổDescription.Builder | thông thoáng () |
| Phân bổDescription.Builder | clearAllocatedBytes () Total number of bytes allocated if known int64 allocated_bytes = 2; |
| Phân bổDescription.Builder | ClearAllocationId () Identifier of the allocated buffer if known int64 allocation_id = 4; |
| Phân bổDescription.Builder | clearAllocatorName () Name of the allocator used string allocator_name = 3; |
| Phân bổDescription.Builder | ClearField (trường com.google.protobuf.Descriptors.FieldDescriptor) |
| Phân bổDescription.Builder | clearHasSingleReference () Set if this tensor only has one remaining reference bool has_single_reference = 5; |
| Phân bổDescription.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
| Phân bổDescription.Builder | ClearPtr () Address of the allocation. |
| Phân bổDescription.Builder | clearRequestedBytes () Total number of bytes requested int64 requested_bytes = 1; |
| Phân bổDescription.Builder | dòng vô tính () |
| dài | getAllocatedBytes () Total number of bytes allocated if known int64 allocated_bytes = 2; |
| dài | getAllocationId () Identifier of the allocated buffer if known int64 allocation_id = 4; |
| Sợi dây | getAllocatorName () Name of the allocator used string allocator_name = 3; |
| com.google.protobuf.ByteString | getAllocatorNameBytes () Name of the allocator used string allocator_name = 3; |
| Phân bổMô tả | |
| com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
| com.google.protobuf.Descriptors.Descriptor | |
| boolean | getHasSingleReference () Set if this tensor only has one remaining reference bool has_single_reference = 5; |
| dài | getPtr () Address of the allocation. |
| dài | getRequestedBytes () Total number of bytes requested int64 requested_bytes = 1; |
| boolean cuối cùng | |
| Phân bổDescription.Builder | mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| Phân bổDescription.Builder | mergeFrom (com.google.protobuf.Message other) |
| AllocationDescription.Builder cuối cùng | hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
| Phân bổDescription.Builder | setAllocatedBytes (giá trị dài) Total number of bytes allocated if known int64 allocated_bytes = 2; |
| Phân bổDescription.Builder | setAllocationId (giá trị dài) Identifier of the allocated buffer if known int64 allocation_id = 4; |
| Phân bổDescription.Builder | setAllocatorName (Giá trị chuỗi) Name of the allocator used string allocator_name = 3; |
| Phân bổDescription.Builder | setAllocatorNameBytes (giá trị com.google.protobuf.ByteString) Name of the allocator used string allocator_name = 3; |
| Phân bổDescription.Builder | setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
| Phân bổDescription.Builder | setHasSingleReference (giá trị boolean) Set if this tensor only has one remaining reference bool has_single_reference = 5; |
| Phân bổDescription.Builder | setPtr (giá trị dài) Address of the allocation. |
| Phân bổDescription.Builder | setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng) |
| Phân bổDescription.Builder | setRequestedBytes (giá trị dài) Total number of bytes requested int64 requested_bytes = 1; |
| AllocationDescription.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
public AllocationDescription.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
public AllocationDescription.Builder clearAllocatedBytes ()
Total number of bytes allocated if known
int64 allocated_bytes = 2; public AllocationDescription.Builder clearAllocationId ()
Identifier of the allocated buffer if known
int64 allocation_id = 4; public AllocationDescription.Builder clearAllocatorName ()
Name of the allocator used
string allocator_name = 3; public AllocationDescription.Builder clearField (trường com.google.protobuf.Descriptors.FieldDescriptor)
public AllocationDescription.Builder clearHasSingleReference ()
Set if this tensor only has one remaining reference
bool has_single_reference = 5; public AllocationDescription.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
public AllocationDescription.Builder clearRequestedBytes ()
Total number of bytes requested
int64 requested_bytes = 1; công khai long getAllocatedBytes ()
Total number of bytes allocated if known
int64 allocated_bytes = 2; getAllocationId dài công khai ()
Identifier of the allocated buffer if known
int64 allocation_id = 4; Chuỗi công khai getAllocatorName ()
Name of the allocator used
string allocator_name = 3; com.google.protobuf.ByteString getAllocatorNameBytes công khai ()
Name of the allocator used
string allocator_name = 3; công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()
boolean công khai getHasSingleReference ()
Set if this tensor only has one remaining reference
bool has_single_reference = 5; getPtr công khai dài ()
Address of the allocation.
uint64 ptr = 6; getRequestedBytes dài công khai ()
Total number of bytes requested
int64 requested_bytes = 1; boolean cuối cùng công khai được khởi tạo ()
public AllocationDescription.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
| IOException |
|---|
bản cuối cùng công khai AllocationDescription.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
public AllocationDescription.Builder setAllocatedBytes (giá trị dài)
Total number of bytes allocated if known
int64 allocated_bytes = 2; public AllocationDescription.Builder setAllocationId (giá trị dài)
Identifier of the allocated buffer if known
int64 allocation_id = 4; public AllocationDescription.Builder setAllocatorName (Giá trị chuỗi)
Name of the allocator used
string allocator_name = 3; public AllocationDescription.Builder setAllocatorNameBytes (giá trị com.google.protobuf.ByteString)
Name of the allocator used
string allocator_name = 3; public AllocationDescription.Builder setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
public AllocationDescription.Builder setHasSingleReference (giá trị boolean)
Set if this tensor only has one remaining reference
bool has_single_reference = 5; public AllocationDescription.Builder setPtr (giá trị dài)
Address of the allocation.
uint64 ptr = 6; public AllocationDescription.Builder setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)
public AllocationDescription.Builder setRequestedBytes (giá trị dài)
Total number of bytes requested
int64 requested_bytes = 1;