Package onnx

Interface OnnxMl.TypeProto.OptionalOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      OnnxMl.TypeProto getElemType()
      The type and optional shape of the element wrapped.
      OnnxMl.TypeProtoOrBuilder getElemTypeOrBuilder()
      The type and optional shape of the element wrapped.
      boolean hasElemType()
      The type and optional shape of the element wrapped.
      • 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

      • hasElemType

        boolean hasElemType()
         The type and optional shape of the element wrapped.
         This field MUST be present for this version of the IR.
         Possible values correspond to OptionalProto.DataType enum
         
        .onnx.TypeProto elem_type = 1;
        Returns:
        Whether the elemType field is set.
      • getElemType

        OnnxMl.TypeProto getElemType()
         The type and optional shape of the element wrapped.
         This field MUST be present for this version of the IR.
         Possible values correspond to OptionalProto.DataType enum
         
        .onnx.TypeProto elem_type = 1;
        Returns:
        The elemType.
      • getElemTypeOrBuilder

        OnnxMl.TypeProtoOrBuilder getElemTypeOrBuilder()
         The type and optional shape of the element wrapped.
         This field MUST be present for this version of the IR.
         Possible values correspond to OptionalProto.DataType enum
         
        .onnx.TypeProto elem_type = 1;