public static final class RemoteTensorHandle.Builder
tensorflow.eager.RemoteTensorHandle
type tensorflow.eager.RemoteTensorHandle
Métodos Públicos
RemoteTensorHandle.Builder | addAllResourceDtypesAndShapes (valores Iterable <? extends ResourceDtypeAndShape >) Optional data types and shapes of a remote resource variable. |
RemoteTensorHandle.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
RemoteTensorHandle.Builder | addResourceDtypesAndShapes ( ResourceDtypeAndShape.Builder builderForValue) Optional data types and shapes of a remote resource variable. |
RemoteTensorHandle.Builder | addResourceDtypesAndShapes (valor ResourceDtypeAndShape ) Optional data types and shapes of a remote resource variable. |
RemoteTensorHandle.Builder | addResourceDtypesAndShapes (int index, ResourceDtypeAndShape.Builder builderForValue) Optional data types and shapes of a remote resource variable. |
RemoteTensorHandle.Builder | addResourceDtypesAndShapes (índice int, valor ResourceDtypeAndShape ) Optional data types and shapes of a remote resource variable. |
ResourceDtypeAndShape.Builder | addResourceDtypesAndShapesBuilder () Optional data types and shapes of a remote resource variable. |
ResourceDtypeAndShape.Builder | addResourceDtypesAndShapesBuilder (índice interno ) Optional data types and shapes of a remote resource variable. |
RemoteTensorHandle | build () |
RemoteTensorHandle | buildPartial () |
RemoteTensorHandle.Builder | limpar () |
RemoteTensorHandle.Builder | clearDevice () Device where the tensor is located. |
RemoteTensorHandle.Builder | clearDtype () Tensor type. |
RemoteTensorHandle.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
RemoteTensorHandle.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RemoteTensorHandle.Builder | clearOpDevice () Device of the operation producing this tensor. |
RemoteTensorHandle.Builder | clearOpId () The ID of the operation that produced this tensor. |
RemoteTensorHandle.Builder | clearOutputNum () The index into the outputs of the operation that produced this tensor. |
RemoteTensorHandle.Builder | clearResourceDtypesAndShapes () Optional data types and shapes of a remote resource variable. |
RemoteTensorHandle.Builder | clone () |
RemoteTensorHandle | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Fragmento | getDevice () Device where the tensor is located. |
com.google.protobuf.ByteString | getDeviceBytes () Device where the tensor is located. |
Tipo de dados | getDtype () Tensor type. |
int | getDtypeValue () Tensor type. |
Fragmento | getOpDevice () Device of the operation producing this tensor. |
com.google.protobuf.ByteString | getOpDeviceBytes () Device of the operation producing this tensor. |
longo | getOpId () The ID of the operation that produced this tensor. |
int | getOutputNum () The index into the outputs of the operation that produced this tensor. |
ResourceDtypeAndShape | getResourceDtypesAndShapes (índice interno) Optional data types and shapes of a remote resource variable. |
ResourceDtypeAndShape.Builder | getResourceDtypesAndShapesBuilder (índice interno) Optional data types and shapes of a remote resource variable. |
List < ResourceDtypeAndShape.Builder > | getResourceDtypesAndShapesBuilderList () Optional data types and shapes of a remote resource variable. |
int | getResourceDtypesAndShapesCount () Optional data types and shapes of a remote resource variable. |
List < ResourceDtypeAndShape > | getResourceDtypesAndShapesList () Optional data types and shapes of a remote resource variable. |
ResourceDtypeAndShapeOrBuilder | getResourceDtypesAndShapesOrBuilder (índice interno) Optional data types and shapes of a remote resource variable. |
Lista <? estende ResourceDtypeAndShapeOrBuilder > | getResourceDtypesAndShapesOrBuilderList () Optional data types and shapes of a remote resource variable. |
final booleano | |
RemoteTensorHandle.Builder | mergeFrom (com.google.protobuf.Message other) |
RemoteTensorHandle.Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RemoteTensorHandle.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
RemoteTensorHandle.Builder | removeResourceDtypesAndShapes (índice interno ) Optional data types and shapes of a remote resource variable. |
RemoteTensorHandle.Builder | setDevice (valor String) Device where the tensor is located. |
RemoteTensorHandle.Builder | setDeviceBytes (valor com.google.protobuf.ByteString) Device where the tensor is located. |
RemoteTensorHandle.Builder | |
RemoteTensorHandle.Builder | setDtypeValue (valor int) Tensor type. |
RemoteTensorHandle.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
RemoteTensorHandle.Builder | setOpDevice (valor String) Device of the operation producing this tensor. |
RemoteTensorHandle.Builder | setOpDeviceBytes (valor com.google.protobuf.ByteString) Device of the operation producing this tensor. |
RemoteTensorHandle.Builder | setOpId (valor longo) The ID of the operation that produced this tensor. |
RemoteTensorHandle.Builder | setOutputNum (valor int) The index into the outputs of the operation that produced this tensor. |
RemoteTensorHandle.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
RemoteTensorHandle.Builder | setResourceDtypesAndShapes (índice int, valor ResourceDtypeAndShape ) Optional data types and shapes of a remote resource variable. |
RemoteTensorHandle.Builder | setResourceDtypesAndShapes (int index, ResourceDtypeAndShape.Builder builderForValue) Optional data types and shapes of a remote resource variable. |
final RemoteTensorHandle.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Métodos herdados
Métodos Públicos
public RemoteTensorHandle.Builder addAllResourceDtypesAndShapes (Iterable <? extends ResourceDtypeAndShape > valores)
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public RemoteTensorHandle.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
public RemoteTensorHandle.Builder addResourceDtypesAndShapes ( ResourceDtypeAndShape.Builder builderForValue)
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public RemoteTensorHandle.Builder addResourceDtypesAndShapes (valor ResourceDtypeAndShape )
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public RemoteTensorHandle.Builder addResourceDtypesAndShapes (int index, ResourceDtypeAndShape.Builder builderForValue)
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public RemoteTensorHandle.Builder addResourceDtypesAndShapes (int index, ResourceDtypeAndShape value)
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public ResourceDtypeAndShape.Builder addResourceDtypesAndShapesBuilder ()
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public ResourceDtypeAndShape.Builder addResourceDtypesAndShapesBuilder (índice interno )
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public RemoteTensorHandle.Builder clearDevice ()
Device where the tensor is located. Cannot be empty. For multi-device functions, it's the default device passed to placer.
string device = 3;
public RemoteTensorHandle.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
public RemoteTensorHandle.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
public RemoteTensorHandle.Builder clearOpDevice ()
Device of the operation producing this tensor. Can be empty if the operation producing this tensor is a multi-device function.
string op_device = 4;
public RemoteTensorHandle.Builder clearOpId ()
The ID of the operation that produced this tensor.
int64 op_id = 1;
public RemoteTensorHandle.Builder clearOutputNum ()
The index into the outputs of the operation that produced this tensor.
int32 output_num = 2;
public RemoteTensorHandle.Builder clearResourceDtypesAndShapes ()
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public String getDevice ()
Device where the tensor is located. Cannot be empty. For multi-device functions, it's the default device passed to placer.
string device = 3;
public com.google.protobuf.ByteString getDeviceBytes ()
Device where the tensor is located. Cannot be empty. For multi-device functions, it's the default device passed to placer.
string device = 3;
public int getDtypeValue ()
Tensor type.
.tensorflow.DataType dtype = 5;
public String getOpDevice ()
Device of the operation producing this tensor. Can be empty if the operation producing this tensor is a multi-device function.
string op_device = 4;
public com.google.protobuf.ByteString getOpDeviceBytes ()
Device of the operation producing this tensor. Can be empty if the operation producing this tensor is a multi-device function.
string op_device = 4;
public long getOpId ()
The ID of the operation that produced this tensor.
int64 op_id = 1;
public int getOutputNum ()
The index into the outputs of the operation that produced this tensor.
int32 output_num = 2;
public ResourceDtypeAndShape getResourceDtypesAndShapes (int index)
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public ResourceDtypeAndShape.Builder getResourceDtypesAndShapesBuilder (índice interno)
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public List < ResourceDtypeAndShape.Builder > getResourceDtypesAndShapesBuilderList ()
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public int getResourceDtypesAndShapesCount ()
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public List < ResourceDtypeAndShape > getResourceDtypesAndShapesList ()
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public ResourceDtypeAndShapeOrBuilder getResourceDtypesAndShapesOrBuilder (índice interno)
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
Lista pública <? estende ResourceDtypeAndShapeOrBuilder > getResourceDtypesAndShapesOrBuilderList ()
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public final boolean isInitialized ()
public RemoteTensorHandle.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public final RemoteTensorHandle.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public RemoteTensorHandle.Builder removeResourceDtypesAndShapes (índice interno )
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public RemoteTensorHandle.Builder setDevice (String value)
Device where the tensor is located. Cannot be empty. For multi-device functions, it's the default device passed to placer.
string device = 3;
public RemoteTensorHandle.Builder setDeviceBytes (valor com.google.protobuf.ByteString)
Device where the tensor is located. Cannot be empty. For multi-device functions, it's the default device passed to placer.
string device = 3;
public RemoteTensorHandle.Builder setDtype (valor DataType )
Tensor type.
.tensorflow.DataType dtype = 5;
public RemoteTensorHandle.Builder setDtypeValue (valor int)
Tensor type.
.tensorflow.DataType dtype = 5;
public RemoteTensorHandle.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
public RemoteTensorHandle.Builder setOpDevice (String value)
Device of the operation producing this tensor. Can be empty if the operation producing this tensor is a multi-device function.
string op_device = 4;
public RemoteTensorHandle.Builder setOpDeviceBytes (valor com.google.protobuf.ByteString)
Device of the operation producing this tensor. Can be empty if the operation producing this tensor is a multi-device function.
string op_device = 4;
public RemoteTensorHandle.Builder setOpId (valor longo)
The ID of the operation that produced this tensor.
int64 op_id = 1;
public RemoteTensorHandle.Builder setOutputNum (valor int)
The index into the outputs of the operation that produced this tensor.
int32 output_num = 2;
public RemoteTensorHandle.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
public RemoteTensorHandle.Builder setResourceDtypesAndShapes (int index, ResourceDtypeAndShape value)
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public RemoteTensorHandle.Builder setResourceDtypesAndShapes (int index, ResourceDtypeAndShape.Builder builderForValue)
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;