ResourceHandleProto

classe finale pubblica 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.
 
Tipo protobuf tensorflow.ResourceHandleProto

Classi nidificate

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). 
interfaccia ResourceHandleProto.DtypeAndShapeOrBuilder

Costanti

int CONTENITORE_CAMPO_NUMERO
int DEVICE_FIELD_NUMBER
int DTYPES_AND_SHAPES_FIELD_NUMBER
int HASH_CODE_FIELD_NUMBER
int MAYBE_TYPE_NAME_FIELD_NUMBER
int NOME_CAMPO_NUMERO

Metodi pubblici

booleano
è uguale a (Oggetto oggetto)
Corda
getContenitore ()
 Container in which this resource is placed.
com.google.protobuf.ByteString
getContainerBytes ()
 Container in which this resource is placed.
ResourceHandleProto statico
ResourceHandleProto
com.google.protobuf.Descriptors.Descriptor statico finale
Corda
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 (indice int)
 Data types and shapes for the underlying resource.
int
getDtypesAndShapesCount ()
 Data types and shapes for the underlying resource.
Elenco< ResourceHandleProto.DtypeAndShape >
getDtypesAndShapesList ()
 Data types and shapes for the underlying resource.
ResourceHandleProto.DtypeAndShapeOrBuilder
getDtypesAndShapesOrBuilder (indice int)
 Data types and shapes for the underlying resource.
Elenco<? estende ResourceHandleProto.DtypeAndShapeOrBuilder >
getDtypesAndShapesOrBuilderList ()
 Data types and shapes for the underlying resource.
lungo
getHashCode ()
 Hash code for the type of the resource.
Corda
getMaybeTypeName ()
 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.
Corda
getNome ()
 Unique name of this resource.
com.google.protobuf.ByteString
getNomeBytes ()
 Unique name of this resource.
int
finale com.google.protobuf.UnknownFieldSet
int
booleano finale
static ResourceHandleProto.Builder
static ResourceHandleProto.Builder
ResourceHandleProto.Builder
ResourceHandleProto statico
parseDelimitedFrom (input InputStream)
ResourceHandleProto statico
parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ResourceHandleProto statico
parseFrom (dati ByteBuffer)
ResourceHandleProto statico
parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
ResourceHandleProto statico
parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ResourceHandleProto statico
parseFrom (ingresso com.google.protobuf.CodedInputStream)
ResourceHandleProto statico
parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ResourceHandleProto statico
parseFrom (dati com.google.protobuf.ByteString)
ResourceHandleProto statico
parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ResourceHandleProto statico
parseFrom (dati com.google.protobuf.ByteString, estensione Com.google.protobuf.ExtensionRegistryLiteRegistry)
statico
ResourceHandleProto.Builder
vuoto
writeTo (output com.google.protobuf.CodedOutputStream)

Metodi ereditati

Costanti

public static final int CONTAINER_FIELD_NUMBER

Valore costante: 2

public static final int DEVICE_FIELD_NUMBER

Valore costante: 1

public static final int DTYPES_AND_SHAPES_FIELD_NUMBER

Valore costante: 6

public static final int HASH_CODE_FIELD_NUMBER

Valore costante: 4

public static final int MAYBE_TYPE_NAME_FIELD_NUMBER

Valore costante: 5

public static final int NAME_FIELD_NUMBER

Valore costante: 3

Metodi pubblici

booleano pubblico è uguale a (Oggetto obj)

public String getContainer ()

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

pubblico com.google.protobuf.ByteString getContainerBytes ()

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

pubblico statico ResourceHandleProto getDefaultInstance ()

pubblico ResourceHandleProto getDefaultInstanceForType ()

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

stringa pubblica getDevice ()

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

pubblico com.google.protobuf.ByteString getDeviceBytes ()

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

public ResourceHandleProto.DtypeAndShape getDtypesAndShapes (indice 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;

Elenco pubblico< ResourceHandleProto.DtypeAndShape > getDtypesAndShapesList ()

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

public ResourceHandleProto.DtypeAndShapeOrBuilder getDtypesAndShapesOrBuilder (indice int)

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

Elenco pubblico<? estende ResourceHandleProto.DtypeAndShapeOrBuilder > getDtypesAndShapesOrBuilderList ()

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

pubblico lungo 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;

stringa pubblica getMaybeTypeName ()

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

pubblico 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;

stringa pubblica getName ()

 Unique name of this resource.
 
string name = 3;

pubblico com.google.protobuf.ByteString getNameBytes ()

 Unique name of this resource.
 
string name = 3;

pubblico getParserForType ()

public int getSerializedSize ()

pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final booleano isInitialized ()

public static ResourceHandleProto.Builder newBuilder (prototipo ResourceHandleProto )

pubblico statico ResourceHandleProto.Builder newBuilder ()

public ResourceHandleProto.Builder newBuilderForType ()

public static ResourceHandleProto parseDelimitedFrom (input InputStream)

Lancia
IOException

public static ResourceHandleProto parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

parseFrom pubblico statico ResourceHandleProto (dati ByteBuffer)

Lancia
InvalidProtocolBufferException

public static ResourceHandleProto parseFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

parseFrom pubblico statico ResourceHandleProto (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

parseFrom pubblico statico ResourceHandleProto (input com.google.protobuf.CodedInputStream)

Lancia
IOException

public static ResourceHandleProto parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

parseFrom pubblico statico ResourceHandleProto (dati com.google.protobuf.ByteString)

Lancia
InvalidProtocolBufferException

public static ResourceHandleProto parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

public static ResourceHandleProto parseFrom (dati com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

pubblico statico analizzatore ()

pubblico ResourceHandleProto.Builder toBuilder ()

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

Lancia
IOException