clase final estática pública ResourceHandleProto.Builder
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
Métodos públicos
ResourceHandleProto.Builder | addAllDtypesAndShapes (Iterable <? extiende los valores ResourceHandleProto.DtypeAndShape >) Data types and shapes for the underlying resource. |
ResourceHandleProto.Builder | addDtypesAndShapes ( ResourceHandleProto.DtypeAndShape.Builder builderForValue) Data types and shapes for the underlying resource. |
ResourceHandleProto.Builder | addDtypesAndShapes (valor ResourceHandleProto.DtypeAndShape ) Data types and shapes for the underlying resource. |
ResourceHandleProto.Builder | addDtypesAndShapes (índice int, valor ResourceHandleProto.DtypeAndShape ) Data types and shapes for the underlying resource. |
ResourceHandleProto.Builder | addDtypesAndShapes (índice int, ResourceHandleProto.DtypeAndShape.Builder builderForValue) Data types and shapes for the underlying resource. |
ResourceHandleProto.DtypeAndShape.Builder | addDtypesAndShapesBuilder (índice int) Data types and shapes for the underlying resource. |
ResourceHandleProto.DtypeAndShape.Builder | addDtypesAndShapesBuilder () Data types and shapes for the underlying resource. |
ResourceHandleProto.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
ResourceHandleProto | construir () |
ResourceHandleProto | buildPartial () |
ResourceHandleProto.Builder | claro () |
ResourceHandleProto.Builder | clearContainer () Container in which this resource is placed. |
ResourceHandleProto.Builder | clearDevice () Unique name for the device containing the resource. |
ResourceHandleProto.Builder | clearDtypesAndShapes () Data types and shapes for the underlying resource. |
ResourceHandleProto.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
ResourceHandleProto.Builder | clearHashCode () Hash code for the type of the resource. |
ResourceHandleProto.Builder | clearMaybeTypeName () For debug-only, the name of the type pointed to by this handle, if available. |
ResourceHandleProto.Builder | clearName () Unique name of this resource. |
ResourceHandleProto.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ResourceHandleProto.Builder | clonar () |
Cuerda | getContainer () Container in which this resource is placed. |
com.google.protobuf.ByteString | getContainerBytes () Container in which this resource is placed. |
ResourceHandleProto | |
com.google.protobuf.Descriptors.Descriptor estático final | |
com.google.protobuf.Descriptors.Descriptor | |
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. |
ResourceHandleProto.DtypeAndShape.Builder | getDtypesAndShapesBuilder (índice int) Data types and shapes for the underlying resource. |
Lista < ResourceHandleProto.DtypeAndShape.Builder > | getDtypesAndShapesBuilderList () 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. |
booleano final | |
ResourceHandleProto.Builder | mergeFrom (com.google.protobuf.Message otro) |
ResourceHandleProto.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
final ResourceHandleProto.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
ResourceHandleProto.Builder | removeDtypesAndShapes (índice int) Data types and shapes for the underlying resource. |
ResourceHandleProto.Builder | setContainer (valor de cadena) Container in which this resource is placed. |
ResourceHandleProto.Builder | setContainerBytes (valor de com.google.protobuf.ByteString) Container in which this resource is placed. |
ResourceHandleProto.Builder | setDevice (valor de cadena) Unique name for the device containing the resource. |
ResourceHandleProto.Builder | setDeviceBytes (valor de com.google.protobuf.ByteString) Unique name for the device containing the resource. |
ResourceHandleProto.Builder | setDtypesAndShapes (índice int, ResourceHandleProto.DtypeAndShape.Builder builderForValue) Data types and shapes for the underlying resource. |
ResourceHandleProto.Builder | setDtypesAndShapes (índice int, valor ResourceHandleProto.DtypeAndShape ) Data types and shapes for the underlying resource. |
ResourceHandleProto.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
ResourceHandleProto.Builder | setHashCode (valor largo) Hash code for the type of the resource. |
ResourceHandleProto.Builder | setMaybeTypeName (valor de cadena) For debug-only, the name of the type pointed to by this handle, if available. |
ResourceHandleProto.Builder | setMaybeTypeNameBytes (valor com.google.protobuf.ByteString) For debug-only, the name of the type pointed to by this handle, if available. |
ResourceHandleProto.Builder | setName (valor de cadena) Unique name of this resource. |
ResourceHandleProto.Builder | setNameBytes (valor de com.google.protobuf.ByteString) Unique name of this resource. |
ResourceHandleProto.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
final ResourceHandleProto.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Métodos heredados
Métodos públicos
public ResourceHandleProto.Builder addAllDtypesAndShapes (Iterable <? extiende los valores ResourceHandleProto.DtypeAndShape >)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public ResourceHandleProto.Builder addDtypesAndShapes ( ResourceHandleProto.DtypeAndShape.Builder builderForValue)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public ResourceHandleProto.Builder addDtypesAndShapes (valor ResourceHandleProto.DtypeAndShape )
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public ResourceHandleProto.Builder addDtypesAndShapes (índice int, valor ResourceHandleProto.DtypeAndShape )
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public ResourceHandleProto.Builder addDtypesAndShapes (índice int, ResourceHandleProto.DtypeAndShape.Builder builderForValue)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public ResourceHandleProto.DtypeAndShape.Builder addDtypesAndShapesBuilder (índice int)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public ResourceHandleProto.DtypeAndShape.Builder addDtypesAndShapesBuilder ()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public ResourceHandleProto.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
public ResourceHandleProto.Builder clearContainer ()
Container in which this resource is placed.
string container = 2;
public ResourceHandleProto.Builder clearDevice ()
Unique name for the device containing the resource.
string device = 1;
public ResourceHandleProto.Builder clearDtypesAndShapes ()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public ResourceHandleProto.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
public ResourceHandleProto.Builder clearHashCode ()
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 ResourceHandleProto.Builder clearMaybeTypeName ()
For debug-only, the name of the type pointed to by this handle, if available.
string maybe_type_name = 5;
public ResourceHandleProto.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
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 com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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 ResourceHandleProto.DtypeAndShape.Builder getDtypesAndShapesBuilder (índice int)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
lista pública < ResourceHandleProto.DtypeAndShape.Builder > getDtypesAndShapesBuilderList ()
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;
public final boolean isInitialized ()
public ResourceHandleProto.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
Public final ResourceHandleProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public ResourceHandleProto.Builder removeDtypesAndShapes (índice int)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public ResourceHandleProto.Builder setContainer (valor de cadena)
Container in which this resource is placed.
string container = 2;
public ResourceHandleProto.Builder setContainerBytes (valor de com.google.protobuf.ByteString)
Container in which this resource is placed.
string container = 2;
public ResourceHandleProto.Builder setDevice (valor de cadena)
Unique name for the device containing the resource.
string device = 1;
public ResourceHandleProto.Builder setDeviceBytes (valor de com.google.protobuf.ByteString)
Unique name for the device containing the resource.
string device = 1;
public ResourceHandleProto.Builder setDtypesAndShapes (índice int, ResourceHandleProto.DtypeAndShape.Builder builderForValue)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public ResourceHandleProto.Builder setDtypesAndShapes (índice int, valor ResourceHandleProto.DtypeAndShape )
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public ResourceHandleProto.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
public ResourceHandleProto.Builder setHashCode (valor largo)
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 ResourceHandleProto.Builder setMaybeTypeName (valor de cadena)
For debug-only, the name of the type pointed to by this handle, if available.
string maybe_type_name = 5;
public ResourceHandleProto.Builder setMaybeTypeNameBytes (valor de com.google.protobuf.ByteString)
For debug-only, the name of the type pointed to by this handle, if available.
string maybe_type_name = 5;
public ResourceHandleProto.Builder setName (valor de cadena)
Unique name of this resource.
string name = 3;
public ResourceHandleProto.Builder setNameBytes (valor de com.google.protobuf.ByteString)
Unique name of this resource.
string name = 3;