Class RemoteTensorHandle
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.proto.eager.RemoteTensorHandle
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, RemoteTensorHandleOrBuilder
public final class RemoteTensorHandle
extends GeneratedMessageV3
implements RemoteTensorHandleOrBuilder
Protobuf type
tensorflow.eager.RemoteTensorHandle- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typetensorflow.eager.RemoteTensorHandleNested classes/interfaces inherited from class GeneratedMessageV3
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>, GeneratedMessageV3.ExtendableMessage<MessageType>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterNested classes/interfaces inherited from class AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class AbstractMessage
memoizedSizeFields inherited from class AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic RemoteTensorHandlestatic final Descriptors.DescriptorDevice where the tensor is located.Device where the tensor is located.getDtype()Tensor type.intTensor type.Device of the operation producing this tensor.Device of the operation producing this tensor.longgetOpId()The ID of the operation that produced this tensor.intThe index into the outputs of the operation that produced this tensor.getResourceDtypesAndShapes(int index) Optional data types and shapes of a remote resource variable.intOptional data types and shapes of a remote resource variable.Optional data types and shapes of a remote resource variable.getResourceDtypesAndShapesOrBuilder(int index) Optional data types and shapes of a remote resource variable.List<? extends ResourceDtypeAndShapeOrBuilder> Optional data types and shapes of a remote resource variable.intfinal UnknownFieldSetinthashCode()protected GeneratedMessageV3.FieldAccessorTablefinal booleanstatic RemoteTensorHandle.Builderstatic RemoteTensorHandle.BuildernewBuilder(RemoteTensorHandle prototype) protected RemoteTensorHandle.Builderprotected Objectstatic RemoteTensorHandleparseDelimitedFrom(InputStream input) static RemoteTensorHandleparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static RemoteTensorHandleparseFrom(byte[] data) static RemoteTensorHandleparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) static RemoteTensorHandleparseFrom(ByteString data) static RemoteTensorHandleparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) static RemoteTensorHandleparseFrom(CodedInputStream input) static RemoteTensorHandleparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) static RemoteTensorHandleparseFrom(InputStream input) static RemoteTensorHandleparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static RemoteTensorHandleparseFrom(ByteBuffer data) static RemoteTensorHandleparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) static Parser<RemoteTensorHandle> parser()voidwriteTo(CodedOutputStream output) Methods inherited from class GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
OP_ID_FIELD_NUMBER
public static final int OP_ID_FIELD_NUMBER- See Also:
-
OUTPUT_NUM_FIELD_NUMBER
public static final int OUTPUT_NUM_FIELD_NUMBER- See Also:
-
DEVICE_FIELD_NUMBER
public static final int DEVICE_FIELD_NUMBER- See Also:
-
OP_DEVICE_FIELD_NUMBER
public static final int OP_DEVICE_FIELD_NUMBER- See Also:
-
DTYPE_FIELD_NUMBER
public static final int DTYPE_FIELD_NUMBER- See Also:
-
RESOURCE_DTYPES_AND_SHAPES_FIELD_NUMBER
public static final int RESOURCE_DTYPES_AND_SHAPES_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
getOpId
public long getOpId()The ID of the operation that produced this tensor.
int64 op_id = 1;- Specified by:
getOpIdin interfaceRemoteTensorHandleOrBuilder- Returns:
- The opId.
-
getOutputNum
public int getOutputNum()The index into the outputs of the operation that produced this tensor.
int32 output_num = 2;- Specified by:
getOutputNumin interfaceRemoteTensorHandleOrBuilder- Returns:
- The outputNum.
-
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;- Specified by:
getDevicein interfaceRemoteTensorHandleOrBuilder- Returns:
- The device.
-
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;- Specified by:
getDeviceBytesin interfaceRemoteTensorHandleOrBuilder- Returns:
- The bytes for device.
-
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;- Specified by:
getOpDevicein interfaceRemoteTensorHandleOrBuilder- Returns:
- The opDevice.
-
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;- Specified by:
getOpDeviceBytesin interfaceRemoteTensorHandleOrBuilder- Returns:
- The bytes for opDevice.
-
getDtypeValue
public int getDtypeValue()Tensor type.
.tensorflow.DataType dtype = 5;- Specified by:
getDtypeValuein interfaceRemoteTensorHandleOrBuilder- Returns:
- The enum numeric value on the wire for dtype.
-
getDtype
Tensor type.
.tensorflow.DataType dtype = 5;- Specified by:
getDtypein interfaceRemoteTensorHandleOrBuilder- Returns:
- The dtype.
-
getResourceDtypesAndShapesList
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;- Specified by:
getResourceDtypesAndShapesListin interfaceRemoteTensorHandleOrBuilder
-
getResourceDtypesAndShapesOrBuilderList
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;- Specified by:
getResourceDtypesAndShapesOrBuilderListin interfaceRemoteTensorHandleOrBuilder
-
getResourceDtypesAndShapesCount
public int getResourceDtypesAndShapesCount()Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;- Specified by:
getResourceDtypesAndShapesCountin interfaceRemoteTensorHandleOrBuilder
-
getResourceDtypesAndShapes
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;- Specified by:
getResourceDtypesAndShapesin interfaceRemoteTensorHandleOrBuilder
-
getResourceDtypesAndShapesOrBuilder
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;- Specified by:
getResourceDtypesAndShapesOrBuilderin interfaceRemoteTensorHandleOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessageV3
-
equals
- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein classAbstractMessage
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static RemoteTensorHandle parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static RemoteTensorHandle parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static RemoteTensorHandle parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RemoteTensorHandle parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RemoteTensorHandle parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RemoteTensorHandle parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
- Specified by:
newBuilderForTypein classGeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-