classe final pública estática 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.
tensorflow.ResourceHandleProto
tipo tensorflow.ResourceHandleProto
Métodos Públicos
ResourceHandleProto.Builder | addAllDtypesAndShapes (valores Iterable <? extends 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 (int index, ResourceHandleProto.DtypeAndShape value) Data types and shapes for the underlying resource. |
ResourceHandleProto.Builder | addDtypesAndShapes (int index, ResourceHandleProto.DtypeAndShape.Builder builderForValue) Data types and shapes for the underlying resource. |
ResourceHandleProto.DtypeAndShape.Builder | |
ResourceHandleProto.DtypeAndShape.Builder | addDtypesAndShapesBuilder () Data types and shapes for the underlying resource. |
ResourceHandleProto.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
ResourceHandleProto | build () |
ResourceHandleProto | buildPartial () |
ResourceHandleProto.Builder | limpar () |
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 | clone () |
Fragmento | getContainer () Container in which this resource is placed. |
com.google.protobuf.ByteString | getContainerBytes () Container in which this resource is placed. |
ResourceHandleProto | |
final static com.google.protobuf.Descriptors.Descriptor | |
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 | |
ResourceHandleProto.DtypeAndShape.Builder | |
List < ResourceHandleProto.DtypeAndShape.Builder > | getDtypesAndShapesBuilderList () Data types and shapes for the underlying resource. |
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. |
final booleano | |
ResourceHandleProto.Builder | mergeFrom (com.google.protobuf.Message other) |
ResourceHandleProto.Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResourceHandleProto.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
ResourceHandleProto.Builder | |
ResourceHandleProto.Builder | setContainer (valor String) Container in which this resource is placed. |
ResourceHandleProto.Builder | setContainerBytes (com.google.protobuf.ByteString value) Container in which this resource is placed. |
ResourceHandleProto.Builder | setDevice (valor String) Unique name for the device containing the resource. |
ResourceHandleProto.Builder | setDeviceBytes (valor com.google.protobuf.ByteString) Unique name for the device containing the resource. |
ResourceHandleProto.Builder | setDtypesAndShapes (int index, ResourceHandleProto.DtypeAndShape.Builder builderForValue) Data types and shapes for the underlying resource. |
ResourceHandleProto.Builder | setDtypesAndShapes (int index, ResourceHandleProto.DtypeAndShape value) Data types and shapes for the underlying resource. |
ResourceHandleProto.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
ResourceHandleProto.Builder | setHashCode (valor longo) Hash code for the type of the resource. |
ResourceHandleProto.Builder | setMaybeTypeName (valor String) For debug-only, the name of the type pointed to by this handle, if available. |
ResourceHandleProto.Builder | setMaybeTypeNameBytes (com.google.protobuf.ByteString value) For debug-only, the name of the type pointed to by this handle, if available. |
ResourceHandleProto.Builder | setName (valor String) Unique name of this resource. |
ResourceHandleProto.Builder | setNameBytes (com.google.protobuf.ByteString value) Unique name of this resource. |
ResourceHandleProto.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
ResourceHandleProto.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Métodos herdados
Métodos Públicos
public ResourceHandleProto.Builder addAllDtypesAndShapes (Iterable <? extends ResourceHandleProto.DtypeAndShape > valores)
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 (int index, ResourceHandleProto.DtypeAndShape value)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public ResourceHandleProto.Builder addDtypesAndShapes (int index, 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 interno )
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 do 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;
public static 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 (int index)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public ResourceHandleProto.DtypeAndShape.Builder getDtypesAndShapesBuilder (índice interno )
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public List < 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;
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;
public final boolean isInitialized ()
public ResourceHandleProto.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public final ResourceHandleProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public ResourceHandleProto.Builder removeDtypesAndShapes (índice interno )
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public ResourceHandleProto.Builder setContainer (String value)
Container in which this resource is placed.
string container = 2;
public ResourceHandleProto.Builder setContainerBytes (valor com.google.protobuf.ByteString)
Container in which this resource is placed.
string container = 2;
public ResourceHandleProto.Builder setDevice (String value)
Unique name for the device containing the resource.
string device = 1;
public ResourceHandleProto.Builder setDeviceBytes (valor com.google.protobuf.ByteString)
Unique name for the device containing the resource.
string device = 1;
public ResourceHandleProto.Builder setDtypesAndShapes (int index, ResourceHandleProto.DtypeAndShape.Builder builderForValue)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public ResourceHandleProto.Builder setDtypesAndShapes (int index, ResourceHandleProto.DtypeAndShape value)
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 do objeto)
public ResourceHandleProto.Builder setHashCode (valor longo)
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 String)
For debug-only, the name of the type pointed to by this handle, if available.
string maybe_type_name = 5;
public ResourceHandleProto.Builder setMaybeTypeNameBytes (com.google.protobuf.ByteString value)
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 String)
Unique name of this resource.
string name = 3;
public ResourceHandleProto.Builder setNameBytes (valor com.google.protobuf.ByteString)
Unique name of this resource.
string name = 3;