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.Protobuf tipo
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
| En t | CONTAINER_FIELD_NUMBER | |
| En t | DEVICE_FIELD_NUMBER | |
| En t | DTYPES_AND_SHAPES_FIELD_NUMBER | |
| En t | HASH_CODE_FIELD_NUMBER | |
| En t | MAYBE_TYPE_NAME_FIELD_NUMBER | |
| En t | NAME_FIELD_NUMBER |
Métodos públicos
| booleano | es igual a (Objeto obj) |
| Cuerda | getContainer () Container in which this resource is placed. |
| com.google.protobuf.ByteString | getContainerBytes () Container in which this resource is placed. |
| estática ResourceHandleProto | |
| ResourceHandleProto | |
| com.google.protobuf.Descriptors.Descriptor estático final | |
| Cuerda | 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 (índice int) Data types and shapes for the underlying resource. |
| En t | 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 | getHashCode () Hash code for the type of the resource. |
| Cuerda | 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. |
| Cuerda | getName () Unique name of this resource. |
| com.google.protobuf.ByteString | getNameBytes () Unique name of this resource. |
| En t | |
| final com.google.protobuf.UnknownFieldSet | |
| En t | hashCode () |
| booleano final | |
| estático ResourceHandleProto.Builder | newBuilder (prototipo ResourceHandleProto ) |
| estático ResourceHandleProto.Builder | newBuilder () |
| ResourceHandleProto.Builder | |
| estática ResourceHandleProto | parseDelimitedFrom (entrada InputStream) |
| estática ResourceHandleProto | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| estática ResourceHandleProto | parseFrom (datos ByteBuffer) |
| estática ResourceHandleProto | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| estática ResourceHandleProto | parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| estática ResourceHandleProto | parseFrom (entrada com.google.protobuf.CodedInputStream) |
| estática ResourceHandleProto | parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| estática ResourceHandleProto | parseFrom (datos com.google.protobuf.ByteString) |
| estática ResourceHandleProto | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| estática ResourceHandleProto | parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| estático | analizador () |
| ResourceHandleProto.Builder | toBuilder () |
| vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
public static final int CONTAINER_FIELD_NUMBER
Valor constante: 2
public static final int DEVICE_FIELD_NUMBER
Valor constante: 1
public static final int DTYPES_AND_SHAPES_FIELD_NUMBER
Valor constante: 6
public static final int HASH_CODE_FIELD_NUMBER
Valor constante: 4
public static final int MAYBE_TYPE_NAME_FIELD_NUMBER
Valor constante: 5
public static final int NAME_FIELD_NUMBER
Valor constante: 3
Métodos públicos
public boolean es igual a (Object obj)
public String 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;público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public String 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 (índice 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;Lista pública < ResourceHandleProto.DtypeAndShape > getDtypesAndShapesList ()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;public 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;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;public String 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;public String getName ()
Unique name of this resource.
string name = 3;public com.google.protobuf.ByteString getNameBytes ()
Unique name of this resource.
string name = 3; público getParserForType ()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final boolean isInitialized ()
público estático ResourceHandleProto parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOException |
|---|
público estático ResourceHandleProto parseFrom (datos ByteBuffer)
Lanza
| InvalidProtocolBufferException |
|---|
público estático ResourceHandleProto parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOException |
|---|
público estático ResourceHandleProto parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| InvalidProtocolBufferException |
|---|
público estático ResourceHandleProto parseFrom (entrada com.google.protobuf.CodedInputStream)
Lanza
| IOException |
|---|
público estático ResourceHandleProto parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| InvalidProtocolBufferException |
|---|
público estático ResourceHandleProto parseFrom (datos de com.google.protobuf.ByteString)
Lanza
| InvalidProtocolBufferException |
|---|
público estático ResourceHandleProto parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| IOException |
|---|
público estático ResourceHandleProto parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
| InvalidProtocolBufferException |
|---|
público estático analizador ()
public void writeTo (salida de com.google.protobuf.CodedOutputStream)
Lanza
| IOException |
|---|