Package onnx

Interface Onnx.TypeProto.OptionalOrBuilder

    • Method Summary

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

        Onnx.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

        Onnx.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;