Interface RemoteTensorHandleOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
RemoteTensorHandle, RemoteTensorHandle.Builder

public interface RemoteTensorHandleOrBuilder extends MessageOrBuilder
  • Method Details

    • getOpId

      long getOpId()
      The ID of the operation that produced this tensor.
      
      int64 op_id = 1;
      Returns:
      The opId.
    • getOutputNum

      int getOutputNum()
      The index into the outputs of the operation that produced this tensor.
      
      int32 output_num = 2;
      Returns:
      The outputNum.
    • getDevice

      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;
      Returns:
      The device.
    • getDeviceBytes

      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;
      Returns:
      The bytes for device.
    • getOpDevice

      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;
      Returns:
      The opDevice.
    • getOpDeviceBytes

      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;
      Returns:
      The bytes for opDevice.
    • getDtypeValue

      int getDtypeValue()
      Tensor type.
      
      .tensorflow.DataType dtype = 5;
      Returns:
      The enum numeric value on the wire for dtype.
    • getDtype

      DataType getDtype()
      Tensor type.
      
      .tensorflow.DataType dtype = 5;
      Returns:
      The dtype.
    • getResourceDtypesAndShapesList

      List<ResourceDtypeAndShape> getResourceDtypesAndShapesList()
      Optional data types and shapes of a remote resource variable.
      
      repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
    • getResourceDtypesAndShapes

      ResourceDtypeAndShape getResourceDtypesAndShapes(int index)
      Optional data types and shapes of a remote resource variable.
      
      repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
    • getResourceDtypesAndShapesCount

      int getResourceDtypesAndShapesCount()
      Optional data types and shapes of a remote resource variable.
      
      repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
    • getResourceDtypesAndShapesOrBuilderList

      List<? extends ResourceDtypeAndShapeOrBuilder> getResourceDtypesAndShapesOrBuilderList()
      Optional data types and shapes of a remote resource variable.
      
      repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
    • getResourceDtypesAndShapesOrBuilder

      ResourceDtypeAndShapeOrBuilder getResourceDtypesAndShapesOrBuilder(int index)
      Optional data types and shapes of a remote resource variable.
      
      repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;