מחלקה סופית סטטית ציבורית AllocationDescription.Builder
tensorflow.AllocationDescription מסוג Protobuf. AllocationDescription
שיטות ציבוריות
| AllocationDescription.Builder | addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
| תיאור הקצאה | לבנות () |
| תיאור הקצאה | buildPartial () |
| AllocationDescription.Builder | ברור () |
| AllocationDescription.Builder | clearAllocatedBytes () Total number of bytes allocated if known int64 allocated_bytes = 2; |
| AllocationDescription.Builder | clearAllocationId () Identifier of the allocated buffer if known int64 allocation_id = 4; |
| AllocationDescription.Builder | clearAllocatorName () Name of the allocator used string allocator_name = 3; |
| AllocationDescription.Builder | clearField (שדה com.google.protobuf.Descriptors.FieldDescriptor) |
| AllocationDescription.Builder | clearHasSingleReference () Set if this tensor only has one remaining reference bool has_single_reference = 5; |
| AllocationDescription.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
| AllocationDescription.Builder | clearPtr () Address of the allocation. |
| AllocationDescription.Builder | clearRequestedBytes () Total number of bytes requested int64 requested_bytes = 1; |
| AllocationDescription.Builder | שיבוט () |
| אָרוֹך | getAllocatedBytes () Total number of bytes allocated if known int64 allocated_bytes = 2; |
| אָרוֹך | getAllocationId () Identifier of the allocated buffer if known int64 allocation_id = 4; |
| חוּט | getAllocatorName () Name of the allocator used string allocator_name = 3; |
| com.google.protobuf.ByteString | getAllocatorNameBytes () Name of the allocator used string allocator_name = 3; |
| תיאור הקצאה | |
| final static com.google.protobuf.Descriptors.Descriptor | |
| com.google.protobuf.Descriptors.Descriptor | |
| בוליאני | getHasSingleReference () Set if this tensor only has one remaining reference bool has_single_reference = 5; |
| אָרוֹך | getPtr () Address of the allocation. |
| אָרוֹך | getRequestedBytes () Total number of bytes requested int64 requested_bytes = 1; |
| בוליאנית סופית | |
| AllocationDescription.Builder | mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| AllocationDescription.Builder | mergeFrom (com.google.protobuf.Message אחר) |
| final AllocationDescription.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
| AllocationDescription.Builder | setAllocatedBytes (ערך ארוך) Total number of bytes allocated if known int64 allocated_bytes = 2; |
| AllocationDescription.Builder | setAllocationId (ערך ארוך) Identifier of the allocated buffer if known int64 allocation_id = 4; |
| AllocationDescription.Builder | setAllocatorName (ערך מחרוזת) Name of the allocator used string allocator_name = 3; |
| AllocationDescription.Builder | setAllocatorNameBytes (ערך com.google.protobuf.ByteString) Name of the allocator used string allocator_name = 3; |
| AllocationDescription.Builder | setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
| AllocationDescription.Builder | setHasSingleReference (ערך בוליאני) Set if this tensor only has one remaining reference bool has_single_reference = 5; |
| AllocationDescription.Builder | setPtr (ערך ארוך) Address of the allocation. |
| AllocationDescription.Builder | setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט) |
| AllocationDescription.Builder | setRequestedBytes (ערך ארוך) Total number of bytes requested int64 requested_bytes = 1; |
| final AllocationDescription.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
שיטות בירושה
שיטות ציבוריות
public AllocationDescription.Builder addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
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 (שדה 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; public long getAllocatedBytes ()
Total number of bytes allocated if known
int64 allocated_bytes = 2; public long getAllocationId ()
Identifier of the allocated buffer if known
int64 allocation_id = 4; מחרוזת ציבורית getAllocatorName ()
Name of the allocator used
string allocator_name = 3; public com.google.protobuf.ByteString getAllocatorNameBytes ()
Name of the allocator used
string allocator_name = 3; public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
getHasSingleReference בוליאני ציבורי ()
Set if this tensor only has one remaining reference
bool has_single_reference = 5; public long getPtr ()
Address of the allocation.
uint64 ptr = 6; public long getRequestedBytes ()
Total number of bytes requested
int64 requested_bytes = 1; בוליאני הסופי הציבורי הוא אתחול ()
public AllocationDescription.Builder mergeFrom (com.google.protobuf.CodedInputStream קלט, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| IOException |
|---|
public final AllocationDescription.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public AllocationDescription.Builder setAllocatedBytes (ערך ארוך)
Total number of bytes allocated if known
int64 allocated_bytes = 2; public AllocationDescription.Builder setAllocationId (ערך ארוך)
Identifier of the allocated buffer if known
int64 allocation_id = 4; public AllocationDescription.Builder setAllocatorName (ערך מחרוזת)
Name of the allocator used
string allocator_name = 3; public AllocationDescription.Builder setAllocatorNameBytes (ערך com.google.protobuf.ByteString)
Name of the allocator used
string allocator_name = 3; public AllocationDescription.Builder setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
public AllocationDescription.Builder setHasSingleReference (ערך בוליאני)
Set if this tensor only has one remaining reference
bool has_single_reference = 5; public AllocationDescription.Builder setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס int, ערך אובייקט)
public AllocationDescription.Builder setRequestedBytes (ערך ארוך)
Total number of bytes requested
int64 requested_bytes = 1;