public final class
RemoteTensorHandle
Protobuf type tensorflow.eager.RemoteTensorHandle
Nested Classes
class | RemoteTensorHandle.Builder | Protobuf type tensorflow.eager.RemoteTensorHandle
|
Constants
int | DEVICE_FIELD_NUMBER | |
int | DTYPE_FIELD_NUMBER | |
int | OP_DEVICE_FIELD_NUMBER | |
int | OP_ID_FIELD_NUMBER | |
int | OUTPUT_NUM_FIELD_NUMBER | |
int | RESOURCE_DTYPES_AND_SHAPES_FIELD_NUMBER |
Public Methods
boolean |
equals(Object obj)
|
static RemoteTensorHandle | |
RemoteTensorHandle | |
final static 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. |
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. |
int | |
final com.google.protobuf.UnknownFieldSet | |
int |
hashCode()
|
final boolean | |
static RemoteTensorHandle.Builder |
newBuilder(RemoteTensorHandle prototype)
|
static RemoteTensorHandle.Builder | |
RemoteTensorHandle.Builder | |
static RemoteTensorHandle |
parseDelimitedFrom(InputStream input)
|
static RemoteTensorHandle |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static RemoteTensorHandle |
parseFrom(ByteBuffer data)
|
static RemoteTensorHandle |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static RemoteTensorHandle |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static RemoteTensorHandle |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static RemoteTensorHandle |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static RemoteTensorHandle |
parseFrom(com.google.protobuf.ByteString data)
|
static RemoteTensorHandle |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static RemoteTensorHandle |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static
|
parser()
|
RemoteTensorHandle.Builder | |
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int DEVICE_FIELD_NUMBER
Constant Value:
3
public static final int DTYPE_FIELD_NUMBER
Constant Value:
5
public static final int OP_DEVICE_FIELD_NUMBER
Constant Value:
4
public static final int OP_ID_FIELD_NUMBER
Constant Value:
1
public static final int OUTPUT_NUM_FIELD_NUMBER
Constant Value:
2
public static final int RESOURCE_DTYPES_AND_SHAPES_FIELD_NUMBER
Constant Value:
6
Public Methods
public boolean equals (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
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
getParserForType
()
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 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 int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final boolean isInitialized ()
public static RemoteTensorHandle parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static RemoteTensorHandle parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static RemoteTensorHandle parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static RemoteTensorHandle parseFrom (com.google.protobuf.CodedInputStream input)
Throws
IOException |
---|
public static RemoteTensorHandle parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static RemoteTensorHandle parseFrom (com.google.protobuf.ByteString data)
Throws
InvalidProtocolBufferException |
---|
public static RemoteTensorHandle parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static RemoteTensorHandle parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public
static
parser
()
public void writeTo (com.google.protobuf.CodedOutputStream output)
Throws
IOException |
---|