Package org.nd4j.ir

Interface TensorNamespace.TypeProto.TensorDescriptorOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      TensorNamespace.DataType getElemType()
      This field MUST NOT have the value of UNDEFINED This field MUST be present for this version of the IR.
      int getElemTypeValue()
      This field MUST NOT have the value of UNDEFINED This field MUST be present for this version of the IR.
      TensorNamespace.TensorShapeProto getShape()
      .org.nd4j.ir.TensorShapeProto shape = 2;
      TensorNamespace.TensorShapeProtoOrBuilder getShapeOrBuilder()
      .org.nd4j.ir.TensorShapeProto shape = 2;
      boolean hasShape()
      .org.nd4j.ir.TensorShapeProto shape = 2;
      • Methods inherited from interface org.nd4j.shade.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder

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

      • getElemTypeValue

        int getElemTypeValue()
         This field MUST NOT have the value of UNDEFINED
         This field MUST be present for this version of the IR.
         
        .org.nd4j.ir.DataType elem_type = 1;
        Returns:
        The enum numeric value on the wire for elemType.
      • getElemType

        TensorNamespace.DataType getElemType()
         This field MUST NOT have the value of UNDEFINED
         This field MUST be present for this version of the IR.
         
        .org.nd4j.ir.DataType elem_type = 1;
        Returns:
        The elemType.
      • hasShape

        boolean hasShape()
        .org.nd4j.ir.TensorShapeProto shape = 2;
        Returns:
        Whether the shape field is set.