כיתה גמר ציבורית תיאור הקצאה
tensorflow.AllocationDescription מסוג Protobuf. AllocationDescription
כיתות מקוננות
| מַחלָקָה | AllocationDescription.Builder | tensorflow.AllocationDescription מסוג Protobuf. AllocationDescription | |
קבועים
| int | ALLOCATED_BYTES_FIELD_NUMBER | |
| int | ALLOCATION_ID_FIELD_NUMBER | |
| int | ALLOCATOR_NAME_FIELD_NUMBER | |
| int | HAS_SINGLE_REFERENCE_FIELD_NUMBER | |
| int | PTR_FIELD_NUMBER | |
| int | REQUESTED_BYTES_FIELD_NUMBER |
שיטות ציבוריות
| בוליאני | שווה (Object obj) |
| אָרוֹך | 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; |
| סטטי AllocationDescription | |
| תיאור הקצאה | |
| final static 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; |
| int | |
| final com.google.protobuf.UnknownFieldSet | |
| int | hashcode () |
| בוליאנית סופית | |
| static AllocationDescription.Builder | newBuilder () |
| static AllocationDescription.Builder | newBuilder (אב-טיפוס AllocationDescription ) |
| AllocationDescription.Builder | |
| סטטי AllocationDescription | parseDelimitedFrom (קלט InputStream) |
| סטטי AllocationDescription | parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי AllocationDescription | parseFrom (נתוני ByteBuffer) |
| סטטי AllocationDescription | parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי AllocationDescription | parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי AllocationDescription | parseFrom (קלט com.google.protobuf.CodedInputStream) |
| סטטי AllocationDescription | parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי AllocationDescription | parseFrom (נתוני com.google.protobuf.ByteString) |
| סטטי AllocationDescription | parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי AllocationDescription | parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטָטִי | מנתח () |
| AllocationDescription.Builder | toBuilder () |
| בָּטֵל | writeTo (פלט com.google.protobuf.CodedOutputStream) |
שיטות בירושה
קבועים
אינט סופי סטטי ציבורי ALLOCATED_BYTES_FIELD_NUMBER
ערך קבוע: 2
אינט סופי סטטי ציבורי ALLOCATION_ID_FIELD_NUMBER
ערך קבוע: 4
גמר סטטי ציבורי ALLOCATOR_NAME_FIELD_NUMBER
ערך קבוע: 3
אינט סופי סטטי ציבורי HAS_SINGLE_REFERENCE_FIELD_NUMBER
ערך קבוע: 5
גמר סטטי ציבורי PTR_FIELD_NUMBER
ערך קבוע: 6
אינט גמר סטטי ציבורי REQUESTED_BYTES_FIELD_NUMBER
ערך קבוע: 1
שיטות ציבוריות
שווה ערך בוליאני ציבורי (Object obj)
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 ()
getHasSingleReference בוליאני ציבורי ()
Set if this tensor only has one remaining reference
bool has_single_reference = 5; פּוּמְבֵּי getParserForType ()
Public long getPtr ()
Address of the allocation.
uint64 ptr = 6; public long getRequestedBytes ()
Total number of bytes requested
int64 requested_bytes = 1; public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
בוליאני הסופי הציבורי הוא אתחול ()
public static AllocationDescription parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| IOException |
|---|
public static AllocationDescription parseFrom (נתוני ByteBuffer)
זורק
| InvalidProtocolBufferException |
|---|
public static AllocationDescription parseFrom (com.google.protobuf.CodedInputStream קלט, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| IOException |
|---|
public static AllocationDescription parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| InvalidProtocolBufferException |
|---|
public static AllocationDescription parseFrom (קלט com.google.protobuf.CodedInputStream)
זורק
| IOException |
|---|
public static AllocationDescription parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| InvalidProtocolBufferException |
|---|
public static AllocationDescription parseFrom (נתוני com.google.protobuf.ByteString)
זורק
| InvalidProtocolBufferException |
|---|
public static AllocationDescription parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| IOException |
|---|
public static AllocationDescription parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| InvalidProtocolBufferException |
|---|
סטטי ציבורי מנתח ()
public void writeTo (פלט com.google.protobuf.CodedOutputStream)
זורק
| IOException |
|---|