classe finale publique AllocationDescription
tensorflow.AllocationDescription
de type Protobuf.AllocationDescription
Classes imbriquées
classe | AllocationDescription.Builder | tensorflow.AllocationDescription de type Protobuf.AllocationDescription |
Constantes
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 |
Méthodes publiques
booléen | est égal à (Obj objet) |
long | getAllocatedBytes () Total number of bytes allocated if known int64 allocated_bytes = 2; |
long | getAllocationId () Identifier of the allocated buffer if known int64 allocation_id = 4; |
Chaîne | getAllocatorName () Name of the allocator used string allocator_name = 3; |
com.google.protobuf.ByteString | getAllocatorNameBytes () Name of the allocator used string allocator_name = 3; |
Description de l'allocation statique | |
Description de l'allocation | |
final statique com.google.protobuf.Descriptors.Descriptor | |
booléen | getHasSingleReference () Set if this tensor only has one remaining reference bool has_single_reference = 5; |
long | obtenirPtr () Address of the allocation. |
long | getRequestedBytes () Total number of bytes requested int64 requested_bytes = 1; |
int | |
final com.google.protobuf.UnknownFieldSet | |
int | |
booléen final | |
AllocationDescription.Builder statique | |
AllocationDescription.Builder statique | newBuilder (prototype AllocationDescription ) |
AllocationDescription.Builder | |
Description d'allocation statique | parseDelimitedFrom (entrée InputStream) |
Description d'allocation statique | parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Description de l'allocation statique | parseFrom (données ByteBuffer) |
Description de l'allocation statique | parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Description de l'allocation statique | parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Description de l'allocation statique | parseFrom (entrée com.google.protobuf.CodedInputStream) |
Description d'allocation statique | parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Description d'allocation statique | parseFrom (données com.google.protobuf.ByteString) |
Description d'allocation statique | parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Description d'allocation statique | parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique | analyseur () |
AllocationDescription.Builder | toBuilder () |
vide | writeTo (sortie com.google.protobuf.CodedOutputStream) |
Méthodes héritées
Constantes
public statique final entier ALLOCATED_BYTES_FIELD_NUMBER
Valeur constante : 2
public statique final entier ALLOCATION_ID_FIELD_NUMBER
Valeur constante : 4
public statique final int ALLOCATOR_NAME_FIELD_NUMBER
Valeur constante : 3
public statique final int HAS_SINGLE_REFERENCE_FIELD_NUMBER
Valeur constante : 5
public statique final int PTR_FIELD_NUMBER
Valeur constante : 6
public statique final int REQUESTED_BYTES_FIELD_NUMBER
Valeur constante : 1
Méthodes publiques
public booléen égal (Objet 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;
chaîne publique 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 statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public booléen getHasSingleReference ()
Set if this tensor only has one remaining reference
bool has_single_reference = 5;
publique 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 ()
code de hachage int public ()
public final booléen isInitialized ()
public static AllocationDescription parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public static AllocationDescription parseFrom (données ByteBuffer)
Jetés
InvalidProtocolBufferException |
---|
public static AllocationDescription parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public static AllocationDescription parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public static AllocationDescription parseFrom (entrée com.google.protobuf.CodedInputStream)
Jetés
IOException |
---|
public static AllocationDescription parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique AllocationDescription parseFrom (données com.google.protobuf.ByteString)
Jetés
InvalidProtocolBufferException |
---|
public static AllocationDescription parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public static AllocationDescription parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique analyseur ()
public void writeTo (sortie com.google.protobuf.CodedOutputStream)
Jetés
IOException |
---|