RemoteTensorHandleOrBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
|
Public Methods
public
abstract
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
abstract
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
abstract
DataType
getDtype
()
Tensor type.
.tensorflow.DataType dtype = 5;
public
abstract
int
getDtypeValue
()
Tensor type.
.tensorflow.DataType dtype = 5;
public
abstract
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
abstract
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
abstract
long
getOpId
()
The ID of the operation that produced this tensor.
int64 op_id = 1;
public
abstract
int
getOutputNum
()
The index into the outputs of the operation that produced this tensor.
int32 output_num = 2;
public
abstract
ResourceDtypeAndShape
getResourceDtypesAndShapes
(int index)
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public
abstract
int
getResourceDtypesAndShapesCount
()
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public
abstract
List<ResourceDtypeAndShape>
getResourceDtypesAndShapesList
()
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public
abstract
ResourceDtypeAndShapeOrBuilder
getResourceDtypesAndShapesOrBuilder
(int index)
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public
abstract
List<? extends ResourceDtypeAndShapeOrBuilder>
getResourceDtypesAndShapesOrBuilderList
()
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-29 UTC."],[],[],null,["# RemoteTensorHandleOrBuilder\n\npublic interface **RemoteTensorHandleOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [RemoteTensorHandle](/jvm/api_docs/java/org/tensorflow/proto/framework/RemoteTensorHandle), [RemoteTensorHandle.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/RemoteTensorHandle.Builder) |------------------------------------------------------------------------------------------------------------|-----------------------------------------------------| | [RemoteTensorHandle](/jvm/api_docs/java/org/tensorflow/proto/framework/RemoteTensorHandle) | Protobuf type `tensorflow.eager.RemoteTensorHandle` | | [RemoteTensorHandle.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/RemoteTensorHandle.Builder) | Protobuf type `tensorflow.eager.RemoteTensorHandle` | |||\n\n### Public Methods\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract String | [getDevice](/jvm/api_docs/java/org/tensorflow/proto/framework/RemoteTensorHandleOrBuilder#getDevice())() ``` Device where the tensor is located. ``` |\n| abstract com.google.protobuf.ByteString | [getDeviceBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/RemoteTensorHandleOrBuilder#getDeviceBytes())() ``` Device where the tensor is located. ``` |\n| abstract [DataType](/jvm/api_docs/java/org/tensorflow/proto/framework/DataType) | [getDtype](/jvm/api_docs/java/org/tensorflow/proto/framework/RemoteTensorHandleOrBuilder#getDtype())() ``` Tensor type. ``` |\n| abstract int | [getDtypeValue](/jvm/api_docs/java/org/tensorflow/proto/framework/RemoteTensorHandleOrBuilder#getDtypeValue())() ``` Tensor type. ``` |\n| abstract String | [getOpDevice](/jvm/api_docs/java/org/tensorflow/proto/framework/RemoteTensorHandleOrBuilder#getOpDevice())() ``` Device of the operation producing this tensor. ``` |\n| abstract com.google.protobuf.ByteString | [getOpDeviceBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/RemoteTensorHandleOrBuilder#getOpDeviceBytes())() ``` Device of the operation producing this tensor. ``` |\n| abstract long | [getOpId](/jvm/api_docs/java/org/tensorflow/proto/framework/RemoteTensorHandleOrBuilder#getOpId())() ``` The ID of the operation that produced this tensor. ``` |\n| abstract int | [getOutputNum](/jvm/api_docs/java/org/tensorflow/proto/framework/RemoteTensorHandleOrBuilder#getOutputNum())() ``` The index into the outputs of the operation that produced this tensor. ``` |\n| abstract [ResourceDtypeAndShape](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceDtypeAndShape) | [getResourceDtypesAndShapes](/jvm/api_docs/java/org/tensorflow/proto/framework/RemoteTensorHandleOrBuilder#getResourceDtypesAndShapes(int))(int index) ``` Optional data types and shapes of a remote resource variable. ``` |\n| abstract int | [getResourceDtypesAndShapesCount](/jvm/api_docs/java/org/tensorflow/proto/framework/RemoteTensorHandleOrBuilder#getResourceDtypesAndShapesCount())() ``` Optional data types and shapes of a remote resource variable. ``` |\n| abstract List\\\u003c[ResourceDtypeAndShape](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceDtypeAndShape)\\\u003e | [getResourceDtypesAndShapesList](/jvm/api_docs/java/org/tensorflow/proto/framework/RemoteTensorHandleOrBuilder#getResourceDtypesAndShapesList())() ``` Optional data types and shapes of a remote resource variable. ``` |\n| abstract [ResourceDtypeAndShapeOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceDtypeAndShapeOrBuilder) | [getResourceDtypesAndShapesOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/RemoteTensorHandleOrBuilder#getResourceDtypesAndShapesOrBuilder(int))(int index) ``` Optional data types and shapes of a remote resource variable. ``` |\n| abstract List\\\u003c? extends [ResourceDtypeAndShapeOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceDtypeAndShapeOrBuilder)\\\u003e | [getResourceDtypesAndShapesOrBuilderList](/jvm/api_docs/java/org/tensorflow/proto/framework/RemoteTensorHandleOrBuilder#getResourceDtypesAndShapesOrBuilderList())() ``` Optional data types and shapes of a remote resource variable. ``` |\n\nPublic Methods\n--------------\n\n#### public abstract String\n**getDevice**\n()\n\n\u003cbr /\u003e\n\n```\n Device where the tensor is located. Cannot be empty.\n For multi-device functions, it's the default device passed to placer.\n \n```\n`string device = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getDeviceBytes**\n()\n\n\u003cbr /\u003e\n\n```\n Device where the tensor is located. Cannot be empty.\n For multi-device functions, it's the default device passed to placer.\n \n```\n`string device = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract [DataType](/jvm/api_docs/java/org/tensorflow/proto/framework/DataType)\n**getDtype**\n()\n\n\u003cbr /\u003e\n\n```\n Tensor type.\n \n```\n`.tensorflow.DataType dtype = 5;`\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getDtypeValue**\n()\n\n\u003cbr /\u003e\n\n```\n Tensor type.\n \n```\n`.tensorflow.DataType dtype = 5;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getOpDevice**\n()\n\n\u003cbr /\u003e\n\n```\n Device of the operation producing this tensor. Can be empty if the\n operation producing this tensor is a multi-device function.\n \n```\n`string op_device = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getOpDeviceBytes**\n()\n\n\u003cbr /\u003e\n\n```\n Device of the operation producing this tensor. Can be empty if the\n operation producing this tensor is a multi-device function.\n \n```\n`string op_device = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract long\n**getOpId**\n()\n\n\u003cbr /\u003e\n\n```\n The ID of the operation that produced this tensor.\n \n```\n`int64 op_id = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getOutputNum**\n()\n\n\u003cbr /\u003e\n\n```\n The index into the outputs of the operation that produced this tensor.\n \n```\n`int32 output_num = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract [ResourceDtypeAndShape](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceDtypeAndShape)\n**getResourceDtypesAndShapes**\n(int index)\n\n\u003cbr /\u003e\n\n```\n Optional data types and shapes of a remote resource variable.\n \n```\n`repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;`\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getResourceDtypesAndShapesCount**\n()\n\n\u003cbr /\u003e\n\n```\n Optional data types and shapes of a remote resource variable.\n \n```\n`repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;`\n\n\u003cbr /\u003e\n\n#### public abstract List\\\u003c[ResourceDtypeAndShape](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceDtypeAndShape)\\\u003e\n**getResourceDtypesAndShapesList**\n()\n\n\u003cbr /\u003e\n\n```\n Optional data types and shapes of a remote resource variable.\n \n```\n`repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;`\n\n\u003cbr /\u003e\n\n#### public abstract [ResourceDtypeAndShapeOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceDtypeAndShapeOrBuilder)\n**getResourceDtypesAndShapesOrBuilder**\n(int index)\n\n\u003cbr /\u003e\n\n```\n Optional data types and shapes of a remote resource variable.\n \n```\n`repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;`\n\n\u003cbr /\u003e\n\n#### public abstract List\\\u003c? extends [ResourceDtypeAndShapeOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceDtypeAndShapeOrBuilder)\\\u003e\n**getResourceDtypesAndShapesOrBuilderList**\n()\n\n\u003cbr /\u003e\n\n```\n Optional data types and shapes of a remote resource variable.\n \n```\n`repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;`\n\n\u003cbr /\u003e"]]