Class SequenceInfo

java.lang.Object
ai.onnxruntime.SequenceInfo
All Implemented Interfaces:
ValueInfo

public class SequenceInfo extends Object implements ValueInfo
Describes an OnnxSequence, including it's element type if known.
  • Field Details

    • sequenceOfMaps

      public final boolean sequenceOfMaps
      Is this a sequence of maps.
    • sequenceType

      public final OnnxJavaType sequenceType
      The type of the sequence if it does not contain a map, OnnxJavaType.UNKNOWN if it does.
    • mapInfo

      public final MapInfo mapInfo
      The type of the map if it contains a map, null otherwise.
    • length

      public final int length
      The number of elements in this sequence.
  • Method Details

    • isSequenceOfMaps

      public boolean isSequenceOfMaps()
      Is this a sequence of maps?
      Returns:
      True if it's a sequence of maps.
    • toString

      public String toString()
      Overrides:
      toString in class Object