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
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
interno | CONTAINER_FIELD_NUMBER | |
interno | DEVICE_FIELD_NUMBER | |
interno | DTYPES_AND_SHAPES_FIELD_NUMBER | |
interno | HASH_CODE_FIELD_NUMBER | |
interno | MAYBE_TYPE_NAME_FIELD_NUMBER | |
interno | NAME_FIELD_NUMBER |
Métodos Públicos
booleano | é igual (objeto obj) |
Corda | getContainer () Container in which this resource is placed. |
com.google.protobuf.ByteString | getContainerBytes () Container in which this resource is placed. |
ResourceHandleProto estático | |
ResourceHandleProto | |
final estático com.google.protobuf.Descriptors.Descriptor | |
Corda | getDispositivo () 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 interno) Data types and shapes for the underlying resource. |
interno | 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 interno) Data types and shapes for the underlying resource. |
Lista<? estende ResourceHandleProto.DtypeAndShapeOrBuilder > | getDtypesAndShapesOrBuilderList () Data types and shapes for the underlying resource. |
longo | obterHashCode () 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. |
interno | |
final com.google.protobuf.UnknownFieldSet | |
interno | código hash () |
booleano final | |
ResourceHandleProto.Builder estático | newBuilder (protótipo ResourceHandleProto ) |
ResourceHandleProto.Builder estático | |
ResourceHandleProto.Builder | |
ResourceHandleProto estático | parseDelimitedFrom (entrada InputStream) |
ResourceHandleProto estático | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResourceHandleProto estático | parseFrom (dados de ByteBuffer) |
ResourceHandleProto estático | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResourceHandleProto estático | parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResourceHandleProto estático | parseFrom (entrada com.google.protobuf.CodedInputStream) |
ResourceHandleProto estático | parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResourceHandleProto estático | parseFrom (dados com.google.protobuf.ByteString) |
ResourceHandleProto estático | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResourceHandleProto estático | parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
ResourceHandleProto.Builder | |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
público estático final int CONTAINER_FIELD_NUMBER
Valor Constante: 2
público estático final int DEVICE_FIELD_NUMBER
Valor Constante: 1
público estático final int DTYPES_AND_SHAPES_FIELD_NUMBER
Valor Constante: 6
público estático final int HASH_CODE_FIELD_NUMBER
Valor Constante: 4
int final estático público MAYBE_TYPE_NAME_FIELD_NUMBER
Valor Constante: 5
int final estático público NAME_FIELD_NUMBER
Valor Constante: 3
Métodos Públicos
booleano público é igual (Object obj)
String 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;
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
String 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;
public 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;
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<? estende ResourceHandleProto.DtypeAndShapeOrBuilder > getDtypesAndShapesOrBuilderList ()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
getHashCode longo público ()
Hash code for the type of the resource. Is only valid in the same device and in the same execution.
uint64 hash_code = 4;
String 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;
String pública getNome ()
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 ()
final público com.google.protobuf.UnknownFieldSet getUnknownFields ()
hashCode int público ()
público final booleano isInitialized ()
public static ResourceHandleProto parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static ResourceHandleProto parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static ResourceHandleProto parseFrom (dados ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static ResourceHandleProto parseFrom (entrada com.google.protobuf.CodedInputStream)
Lança
IOException |
---|
public static ResourceHandleProto parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static ResourceHandleProto parseFrom (dados com.google.protobuf.ByteString)
Lança
InvalidProtocolBufferException |
---|
public static ResourceHandleProto parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static ResourceHandleProto parseFrom (dados com.google.protobuf.ByteString, 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 |
---|