giao diện công cộng AllocationDescriptionOrBuilder
| Các lớp con gián tiếp đã biết |
Phương pháp công khai
| trừu tượng dài | getAllocatedBytes () Total number of bytes allocated if known int64 allocated_bytes = 2; |
| trừu tượng dài | getAllocationId () Identifier of the allocated buffer if known int64 allocation_id = 4; |
| chuỗi trừu tượng | getAllocatorName () Name of the allocator used string allocator_name = 3; |
| tóm tắt com.google.protobuf.ByteString | getAllocatorNameBytes () Name of the allocator used string allocator_name = 3; |
| trừu tượng boolean | getHasSingleReference () Set if this tensor only has one remaining reference bool has_single_reference = 5; |
| trừu tượng dài | getPtr () Address of the allocation. |
| trừu tượng dài | getRequestedBytes () Total number of bytes requested int64 requested_bytes = 1; |
Phương pháp công khai
tóm tắt công khai dài getAllocatedBytes ()
Total number of bytes allocated if known
int64 allocated_bytes = 2; tóm tắt công khai dài getAllocationId ()
Identifier of the allocated buffer if known
int64 allocation_id = 4; Chuỗi tóm tắt công khai getAllocatorName ()
Name of the allocator used
string allocator_name = 3; tóm tắt công khai com.google.protobuf.ByteString getAllocatorNameBytes ()
Name of the allocator used
string allocator_name = 3; boolean trừu tượng công khai getHasSingleReference ()
Set if this tensor only has one remaining reference
bool has_single_reference = 5; tóm tắt công khai dài getPtr ()
Address of the allocation.
uint64 ptr = 6; getRequestedBytes dài trừu tượng công khai ()
Total number of bytes requested
int64 requested_bytes = 1;