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 intlengthThe number of elements in this sequence.MapInfomapInfoThe type of the map if it contains a map, null otherwise.booleansequenceOfMapsIs this a sequence of maps.OnnxJavaTypesequenceTypeThe type of the sequence if it does not contain a map,OnnxJavaType.UNKNOWNif it does.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisSequenceOfMaps()Is this a sequence of maps?java.lang.StringtoString()
-
-
-
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.UNKNOWNif 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.
-
-