clase final pública 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
Clases anidadas
clase | ResourceHandleProto.Builder | Protocol buffer representing a handle to a tensorflow resource. | |
clase | ResourceHandleProto.DtypeAndShape | Protocol buffer representing a pair of (data type, tensor shape). | |
interfaz | ResourceHandleProto.DtypeAndShapeOrBuilder |
Constantes
entero | CONTENEDOR_CAMPO_NUMBER | |
entero | DEVICE_FIELD_NUMBER | |
entero | DTYPES_AND_SHAPES_FIELD_NUMBER | |
entero | HASH_CODE_FIELD_NUMBER | |
entero | MAYBE_TYPE_NAME_FIELD_NUMBER | |
entero | NOMBRE_CAMPO_NÚMERO |
Métodos públicos
booleano | es igual (Objeto obj) |
Cadena | obtener contenedor () Container in which this resource is placed. |
com.google.protobuf.ByteString | obtenerContenedorBytes () Container in which this resource is placed. |
ResourceHandleProto estático | |
ResourceHandleProto | |
com.google.protobuf.Descriptors.Descriptor estático final | |
Cadena | obtener dispositivo () Unique name for the device containing the resource. |
com.google.protobuf.ByteString | obtenerDeviceBytes () Unique name for the device containing the resource. |
ResourceHandleProto.DtypeAndShape | getDtypesAndShapes (índice int) Data types and shapes for the underlying resource. |
entero | getDtypesAndShapesCount () Data types and shapes for the underlying resource. |
Lista< ResourceHandleProto.DtypeAndShape > | getDtypesAndShapesList () Data types and shapes for the underlying resource. |
ResourceHandleProto.DtypeAndShapeOrBuilder | getDtypesAndShapesOrBuilder (índice int) Data types and shapes for the underlying resource. |
Lista<? extiende ResourceHandleProto.DtypeAndShapeOrBuilder > | getDtypesAndShapesOrBuilderList () Data types and shapes for the underlying resource. |
largo | obtener código hash () Hash code for the type of the resource. |
Cadena | 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. |
Cadena | obtenerNombre () Unique name of this resource. |
com.google.protobuf.ByteString | getNombreBytes () Unique name of this resource. |
entero | |
com.google.protobuf.UnknownFieldSet final | |
entero | código hash () |
booleano final | |
estático ResourceHandleProto.Builder | newBuilder (prototipo ResourceHandleProto ) |
estático ResourceHandleProto.Builder | |
ResourceHandleProto.Builder | |
ResourceHandleProto estático | parseDelimitedFrom (entrada de InputStream) |
ResourceHandleProto estático | parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResourceHandleProto estático | parseFrom (datos de ByteBuffer) |
ResourceHandleProto estático | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
ResourceHandleProto estático | parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResourceHandleProto estático | parseFrom (entrada com.google.protobuf.CodedInputStream) |
ResourceHandleProto estático | parseFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResourceHandleProto estático | parseFrom (datos com.google.protobuf.ByteString) |
ResourceHandleProto estático | parseFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResourceHandleProto estático | parseFrom (com.google.protobuf.ByteString datos, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
estático | analizador () |
ResourceHandleProto.Builder | |
vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
int final estático público CONTAINER_FIELD_NUMBER
Valor constante: 2
int final estático público DEVICE_FIELD_NUMBER
Valor constante: 1
int final estático público DTYPES_AND_SHAPES_FIELD_NUMBER
Valor constante: 6
int final estático público HASH_CODE_FIELD_NUMBER
Valor constante: 4
int final estático público MAYBE_TYPE_NAME_FIELD_NUMBER
Valor constante: 5
público estático final int NAME_FIELD_NUMBER
Valor constante: 3
Métodos públicos
público booleano es igual (Objeto obj)
cadena pública getContainer ()
Container in which this resource is placed.
string container = 2;
público com.google.protobuf.ByteString getContainerBytes ()
Container in which this resource is placed.
string container = 2;
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
cadena pública getDevice ()
Unique name for the device containing the resource.
string device = 1;
público com.google.protobuf.ByteString getDeviceBytes ()
Unique name for the device containing the resource.
string device = 1;
público ResourceHandleProto.DtypeAndShape getDtypesAndShapes (índice int)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
público int getDtypesAndShapesCount ()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
Lista pública< ResourceHandleProto.DtypeAndShape > getDtypesAndShapesList ()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
público ResourceHandleProto.DtypeAndShapeOrBuilder getDtypesAndShapesOrBuilder (índice int)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
Lista pública<? extiende ResourceHandleProto.DtypeAndShapeOrBuilder > getDtypesAndShapesOrBuilderList ()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
público largo 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;
cadena pública getMaybeTypeName ()
For debug-only, the name of the type pointed to by this handle, if available.
string maybe_type_name = 5;
público 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;
cadena pública getName ()
Unique name of this resource.
string name = 3;
público com.google.protobuf.ByteString getNameBytes ()
Unique name of this resource.
string name = 3;
público getParserForType ()
público int getSerializedSize ()
público final com.google.protobuf.UnknownFieldSet getUnknownFields ()
código hash int público ()
público final booleano isInitialized ()
público estático ResourceHandleProto parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOExcepción |
---|
ResourceHandleProto estático público parseFrom (datos ByteBuffer)
Lanza
Excepción de buffer de protocolo no válido |
---|
ResourceHandleProto parseFrom estático público (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOExcepción |
---|
ResourceHandleProto parseFrom estático público (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
Excepción de buffer de protocolo no válido |
---|
ResourceHandleProto parseFrom estático público (entrada com.google.protobuf.CodedInputStream)
Lanza
IOExcepción |
---|
público estático ResourceHandleProto parseFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
Excepción de buffer de protocolo no válido |
---|
ResourceHandleProto parseFrom estático público (datos com.google.protobuf.ByteString)
Lanza
Excepción de buffer de protocolo no válido |
---|
ResourceHandleProto parseFrom estático público (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOExcepción |
---|
ResourceHandleProto parseFrom estático público (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
Excepción de buffer de protocolo no válido |
---|
estática pública analizador ()
escritura vacía pública (salida de com.google.protobuf.CodedOutputStream)
Lanza
IOExcepción |
---|