classe 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 tipo tensorflow.ResourceHandleProto Classes aninhadas
| aula | ResourceHandleProto.Builder | Protocol buffer representing a handle to a tensorflow resource. | |
| aula | 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étodos Públicos
| boleano | igual a (objeto obj) |
| Fragmento | getContainer () Container in which this resource is placed. |
| com.google.protobuf.ByteString | getContainerBytes () Container in which this resource is placed. |
| static ResourceHandleProto | |
| ResourceHandleProto | |
| final static com.google.protobuf.Descriptors.Descriptor | |
| Fragmento | getDevice () Unique name for the device containing the resource. |
| com.google.protobuf.ByteString | getDeviceBytes () Unique name for the device containing the resource. |
| ResourceHandleProto.DtypeAndShape | |
| int | getDtypesAndShapesCount () Data types and shapes for the underlying resource. |
| List < ResourceHandleProto.DtypeAndShape > | getDtypesAndShapesList () Data types and shapes for the underlying resource. |
| ResourceHandleProto.DtypeAndShapeOrBuilder | |
| Lista <? estende ResourceHandleProto.DtypeAndShapeOrBuilder > | getDtypesAndShapesOrBuilderList () Data types and shapes for the underlying resource. |
| longo | getHashCode () Hash code for the type of the resource. |
| Fragmento | 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. |
| Fragmento | getName () Unique name of this resource. |
| com.google.protobuf.ByteString | getNameBytes () Unique name of this resource. |
| int | |
| final com.google.protobuf.UnknownFieldSet | |
| int | hashCode () |
| final booleano | |
| static ResourceHandleProto.Builder | newBuilder (protótipo ResourceHandleProto ) |
| static ResourceHandleProto.Builder | newBuilder () |
| ResourceHandleProto.Builder | |
| static ResourceHandleProto | parseDelimitedFrom (input InputStream) |
| static ResourceHandleProto | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| static ResourceHandleProto | parseFrom (dados ByteBuffer) |
| static ResourceHandleProto | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| static ResourceHandleProto | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| static ResourceHandleProto | parseFrom (com.google.protobuf.CodedInputStream input) |
| static ResourceHandleProto | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| static ResourceHandleProto | parseFrom (com.google.protobuf.ByteString data) |
| static ResourceHandleProto | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| static ResourceHandleProto | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| estático | analisador () |
| ResourceHandleProto.Builder | toBuilder () |
| vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
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
público estático 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 equals (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;public static 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 (int index)
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;public List < ResourceHandleProto.DtypeAndShape > getDtypesAndShapesList ()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;public ResourceHandleProto.DtypeAndShapeOrBuilder getDtypesAndShapesOrBuilder (índice interno )
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;Lista pública <? estende 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 ()
public static ResourceHandleProto parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException |
|---|
public static ResourceHandleProto parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException |
|---|
public static ResourceHandleProto parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| InvalidProtocolBufferException |
|---|
public static ResourceHandleProto parseFrom (com.google.protobuf.CodedInputStream input)
Lança
| IOException |
|---|
public static ResourceHandleProto parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| InvalidProtocolBufferException |
|---|
public static ResourceHandleProto parseFrom (com.google.protobuf.ByteString data)
Lança
| InvalidProtocolBufferException |
|---|
public static ResourceHandleProto parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException |
|---|
public static ResourceHandleProto parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| InvalidProtocolBufferException |
|---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
| IOException |
|---|