Package ai.onnxruntime
Class SequenceInfo
- java.lang.Object
-
- ai.onnxruntime.SequenceInfo
-
- All Implemented Interfaces:
ValueInfo
public class SequenceInfo extends java.lang.Object implements ValueInfo
Describes anOnnxSequence
, including it's element type if known.
-
-
Field Summary
Fields Modifier and Type Field Description int
length
The number of elements in this sequence.MapInfo
mapInfo
The type of the map if it contains a map, null otherwise.boolean
sequenceOfMaps
Is this a sequence of maps.OnnxJavaType
sequenceType
The type of the sequence if it does not contain a map,OnnxJavaType.UNKNOWN
if it does.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSequenceOfMaps()
Is this a sequence of maps?java.lang.String
toString()
-
-
-
Field Detail
-
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.
-
-