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
RemoteTensorHandle
RemoteTensorHandle.Builder
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
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;