RemoteTensorHandle.Builder

public static final class RemoteTensorHandle.Builder

Protobuf type tensorflow.eager.RemoteTensorHandle

Public Methods

RemoteTensorHandle.Builder
addAllResourceDtypesAndShapes(Iterable<? extends ResourceDtypeAndShape> values)
 Optional data types and shapes of a remote resource variable.
RemoteTensorHandle.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RemoteTensorHandle.Builder
addResourceDtypesAndShapes(ResourceDtypeAndShape.Builder builderForValue)
 Optional data types and shapes of a remote resource variable.
RemoteTensorHandle.Builder
addResourceDtypesAndShapes(ResourceDtypeAndShape value)
 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(int index, ResourceDtypeAndShape value)
 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(int index)
 Optional data types and shapes of a remote resource variable.
RemoteTensorHandle
build()
RemoteTensorHandle
RemoteTensorHandle.Builder
clear()
RemoteTensorHandle.Builder
clearDevice()
 Device where the tensor is located.
RemoteTensorHandle.Builder
clearDtype()
 Tensor type.
RemoteTensorHandle.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
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
String
getDevice()
 Device where the tensor is located.
com.google.protobuf.ByteString
getDeviceBytes()
 Device where the tensor is located.
DataType
getDtype()
 Tensor type.
int
getDtypeValue()
 Tensor type.
String
getOpDevice()
 Device of the operation producing this tensor.
com.google.protobuf.ByteString
getOpDeviceBytes()
 Device of the operation producing this tensor.
long
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(int index)
 Optional data types and shapes of a remote resource variable.
ResourceDtypeAndShape.Builder
getResourceDtypesAndShapesBuilder(int index)
 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(int index)
 Optional data types and shapes of a remote resource variable.
List<? extends ResourceDtypeAndShapeOrBuilder>
getResourceDtypesAndShapesOrBuilderList()
 Optional data types and shapes of a remote resource variable.
final boolean
RemoteTensorHandle.Builder
mergeFrom(com.google.protobuf.Message other)
RemoteTensorHandle.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
final RemoteTensorHandle.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RemoteTensorHandle.Builder
removeResourceDtypesAndShapes(int index)
 Optional data types and shapes of a remote resource variable.
RemoteTensorHandle.Builder
setDevice(String value)
 Device where the tensor is located.
RemoteTensorHandle.Builder
setDeviceBytes(com.google.protobuf.ByteString value)
 Device where the tensor is located.
RemoteTensorHandle.Builder
setDtype(DataType value)
 Tensor type.
RemoteTensorHandle.Builder
setDtypeValue(int value)
 Tensor type.
RemoteTensorHandle.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RemoteTensorHandle.Builder
setOpDevice(String value)
 Device of the operation producing this tensor.
RemoteTensorHandle.Builder
setOpDeviceBytes(com.google.protobuf.ByteString value)
 Device of the operation producing this tensor.
RemoteTensorHandle.Builder
setOpId(long value)
 The ID of the operation that produced this tensor.
RemoteTensorHandle.Builder
setOutputNum(int value)
 The index into the outputs of the operation that produced this tensor.
RemoteTensorHandle.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RemoteTensorHandle.Builder
setResourceDtypesAndShapes(int index, ResourceDtypeAndShape value)
 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)

Inherited Methods

Public Methods

public RemoteTensorHandle.Builder addAllResourceDtypesAndShapes (Iterable<? extends ResourceDtypeAndShape> values)

 Optional data types and shapes of a remote resource variable.
 
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;

public RemoteTensorHandle.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

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 (ResourceDtypeAndShape value)

 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 (int index)

 Optional data types and shapes of a remote resource variable.
 
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;

public RemoteTensorHandle build ()

public RemoteTensorHandle buildPartial ()

public RemoteTensorHandle.Builder clear ()

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 clearDtype ()

 Tensor type.
 
.tensorflow.DataType dtype = 5;

public RemoteTensorHandle.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

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 RemoteTensorHandle.Builder clone ()

public RemoteTensorHandle getDefaultInstanceForType ()

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 DataType getDtype ()

 Tensor type.
 
.tensorflow.DataType dtype = 5;

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 (int index)

 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 (int index)

 Optional data types and shapes of a remote resource variable.
 
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;

public List<? extends 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.Message other)

public RemoteTensorHandle.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public final RemoteTensorHandle.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public RemoteTensorHandle.Builder removeResourceDtypesAndShapes (int index)

 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 (com.google.protobuf.ByteString 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 setDtype (DataType value)

 Tensor type.
 
.tensorflow.DataType dtype = 5;

public RemoteTensorHandle.Builder setDtypeValue (int value)

 Tensor type.
 
.tensorflow.DataType dtype = 5;

public RemoteTensorHandle.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

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 (com.google.protobuf.ByteString 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 setOpId (long value)

 The ID of the operation that produced this tensor.
 
int64 op_id = 1;

public RemoteTensorHandle.Builder setOutputNum (int value)

 The index into the outputs of the operation that produced this tensor.
 
int32 output_num = 2;

public RemoteTensorHandle.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

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;

public final RemoteTensorHandle.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)