Interface RemoteTensorHandleOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    RemoteTensorHandle, RemoteTensorHandle.Builder

    public interface RemoteTensorHandleOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • 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

        java.lang.String getDevice()
         Device of the operation that produced this tensor. Cannot be empty.
         For multi-device functions, it's the default device passed to placer.
         
        string device = 3;
        Returns:
        The device.
      • getDeviceBytes

        com.google.protobuf.ByteString getDeviceBytes()
         Device of the operation that produced this tensor. Cannot be empty.
         For multi-device functions, it's the default device passed to placer.
         
        string device = 3;
        Returns:
        The bytes for device.
      • getOpDevice

        java.lang.String getOpDevice()
         Device where the tensor is located. Can be empty if the operation producing
         this tensor is a multi-device function.
         
        string op_device = 4;
        Returns:
        The opDevice.
      • getOpDeviceBytes

        com.google.protobuf.ByteString getOpDeviceBytes()
         Device where the tensor is located. 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.
         
        .org.platanios.tensorflow.proto.DataType dtype = 5;
        Returns:
        The enum numeric value on the wire for dtype.
      • getDtype

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

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

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

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

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

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