ResourceHandleProto

classe finale publique ResourceHandleProto

 Protocol buffer representing a handle to a tensorflow resource. Handles are
 not valid across executions, but can be serialized back and forth from within
 a single run.
 
tensorflow.ResourceHandleProto de type Protobuf.ResourceHandleProto

Classes imbriquées

classe ResourceHandleProto.Builder
 Protocol buffer representing a handle to a tensorflow resource. 
classe ResourceHandleProto.DtypeAndShape
 Protocol buffer representing a pair of (data type, tensor shape). 
interface ResourceHandleProto.DtypeAndShapeOrBuilder

Constantes

int CONTAINER_FIELD_NUMBER
int DEVICE_FIELD_NUMBER
int DTYPES_AND_SHAPES_FIELD_NUMBER
int HASH_CODE_FIELD_NUMBER
int MAYBE_TYPE_NAME_FIELD_NUMBER
int NAME_FIELD_NUMBER

Méthodes publiques

booléen
est égal (Obj objet)
Chaîne
getConteneur ()
 Container in which this resource is placed.
com.google.protobuf.ByteString
getContainerBytes ()
 Container in which this resource is placed.
ResourceHandleProto statique
ResourceHandleProto
final statique com.google.protobuf.Descriptors.Descriptor
Chaîne
getDevice ()
 Unique name for the device containing the resource.
com.google.protobuf.ByteString
getDeviceBytes ()
 Unique name for the device containing the resource.
ResourceHandleProto.DtypeAndShape
getDtypesAndShapes (index int)
 Data types and shapes for the underlying resource.
int
getDtypesAndShapesCount ()
 Data types and shapes for the underlying resource.
Liste < ResourceHandleProto.DtypeAndShape >
getDtypesAndShapesList ()
 Data types and shapes for the underlying resource.
ResourceHandleProto.DtypeAndShapeOrBuilder
getDtypesAndShapesOrBuilder (index int)
 Data types and shapes for the underlying resource.
Liste<? étend ResourceHandleProto.DtypeAndShapeOrBuilder >
getDtypesAndShapesOrBuilderList ()
 Data types and shapes for the underlying resource.
long
obtenirHashCode ()
 Hash code for the type of the resource.
Chaîne
getPeut-êtreTypeName ()
 For debug-only, the name of the type pointed to by this handle, if
 available.
com.google.protobuf.ByteString
getMaybeTypeNameBytes ()
 For debug-only, the name of the type pointed to by this handle, if
 available.
Chaîne
obtenirNom ()
 Unique name of this resource.
com.google.protobuf.ByteString
getNameBytes ()
 Unique name of this resource.
int
final com.google.protobuf.UnknownFieldSet
int
booléen final
ResourceHandleProto.Builder statique
ResourceHandleProto.Builder statique
ResourceHandleProto.Builder
ResourceHandleProto statique
parseDelimitedFrom (entrée InputStream)
ResourceHandleProto statique
parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ResourceHandleProto statique
parseFrom (données ByteBuffer)
ResourceHandleProto statique
parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ResourceHandleProto statique
parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ResourceHandleProto statique
parseFrom (entrée com.google.protobuf.CodedInputStream)
ResourceHandleProto statique
parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ResourceHandleProto statique
parseFrom (données com.google.protobuf.ByteString)
ResourceHandleProto statique
parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ResourceHandleProto statique
parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique
ResourceHandleProto.Builder
vide
writeTo (sortie com.google.protobuf.CodedOutputStream)

Méthodes héritées

Constantes

public statique final int CONTAINER_FIELD_NUMBER

Valeur constante : 2

public statique final int DEVICE_FIELD_NUMBER

Valeur constante : 1

public statique final int DTYPES_AND_SHAPES_FIELD_NUMBER

Valeur constante : 6

public statique final int HASH_CODE_FIELD_NUMBER

Valeur constante : 4

public statique final int MAYBE_TYPE_NAME_FIELD_NUMBER

Valeur constante : 5

public statique final entier NAME_FIELD_NUMBER

Valeur constante : 3

Méthodes publiques

public booléen égal (Objet obj)

chaîne publique getContainer ()

 Container in which this resource is placed.
 
string container = 2;

public com.google.protobuf.ByteString getContainerBytes ()

 Container in which this resource is placed.
 
string container = 2;

public statique ResourceHandleProto getDefaultInstance ()

public ResourceHandleProto getDefaultInstanceForType ()

public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

chaîne publique getDevice ()

 Unique name for the device containing the resource.
 
string device = 1;

public com.google.protobuf.ByteString getDeviceBytes ()

 Unique name for the device containing the resource.
 
string device = 1;

public ResourceHandleProto.DtypeAndShape getDtypesAndShapes (index int)

 Data types and shapes for the underlying resource.
 
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;

public int getDtypesAndShapesCount ()

 Data types and shapes for the underlying resource.
 
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;

liste publique < ResourceHandleProto.DtypeAndShape > getDtypesAndShapesList ()

 Data types and shapes for the underlying resource.
 
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;

public ResourceHandleProto.DtypeAndShapeOrBuilder getDtypesAndShapesOrBuilder (index int)

 Data types and shapes for the underlying resource.
 
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;

Liste publique <? étend ResourceHandleProto.DtypeAndShapeOrBuilder > getDtypesAndShapesOrBuilderList ()

 Data types and shapes for the underlying resource.
 
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;

public long getHashCode ()

 Hash code for the type of the resource. Is only valid in the same device
 and in the same execution.
 
uint64 hash_code = 4;

chaîne publique getMaybeTypeName ()

 For debug-only, the name of the type pointed to by this handle, if
 available.
 
string maybe_type_name = 5;

public com.google.protobuf.ByteString getMaybeTypeNameBytes ()

 For debug-only, the name of the type pointed to by this handle, if
 available.
 
string maybe_type_name = 5;

chaîne publique getName ()

 Unique name of this resource.
 
string name = 3;

public com.google.protobuf.ByteString getNameBytes ()

 Unique name of this resource.
 
string name = 3;

publique getParserForType ()

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

code de hachage int public ()

public final booléen isInitialized ()

public statique ResourceHandleProto.Builder newBuilder (prototype ResourceHandleProto )

public statique ResourceHandleProto.Builder newBuilder ()

public ResourceHandleProto.Builder newBuilderForType ()

public static ResourceHandleProto parseDelimitedFrom (entrée InputStream)

Jetés
IOException

public static ResourceHandleProto parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static ResourceHandleProto parseFrom (données ByteBuffer)

Jetés
InvalidProtocolBufferException

public static ResourceHandleProto parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static ResourceHandleProto parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public static ResourceHandleProto parseFrom (entrée com.google.protobuf.CodedInputStream)

Jetés
IOException

public static ResourceHandleProto parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique ResourceHandleProto parseFrom (données com.google.protobuf.ByteString)

Jetés
InvalidProtocolBufferException

public static ResourceHandleProto parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static ResourceHandleProto parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique analyseur ()

public ResourceHandleProto.Builder toBuilder ()

public void writeTo (sortie com.google.protobuf.CodedOutputStream)

Jetés
IOException