Interface ResourceHandleProto.DtypeAndShapeOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ResourceHandleProto.DtypeAndShape, ResourceHandleProto.DtypeAndShape.Builder
Enclosing class:
ResourceHandleProto

public static interface ResourceHandleProto.DtypeAndShapeOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Data type of the tensor.
    int
    Data type of the tensor.
    Shape of the tensor.
    Shape of the tensor.
    boolean
    Shape of the tensor.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDtypeValue

      int getDtypeValue()
       Data type of the tensor.
       
      .tensorflow.DataType dtype = 1;
      Returns:
      The enum numeric value on the wire for dtype.
    • getDtype

      DataType getDtype()
       Data type of the tensor.
       
      .tensorflow.DataType dtype = 1;
      Returns:
      The dtype.
    • hasShape

      boolean hasShape()
       Shape of the tensor.
       
      .tensorflow.TensorShapeProto shape = 2;
      Returns:
      Whether the shape field is set.
    • getShape

      TensorShapeProto getShape()
       Shape of the tensor.
       
      .tensorflow.TensorShapeProto shape = 2;
      Returns:
      The shape.
    • getShapeOrBuilder

      TensorShapeProtoOrBuilder getShapeOrBuilder()
       Shape of the tensor.
       
      .tensorflow.TensorShapeProto shape = 2;