ort:sequence( $values as ort:value* ) as ort:value
Creates a value with type "SEQUENCE". Each value of the sequence must have value type either "TENSOR" or "MAP". If "TENSOR", their tensor element type must be the same. Supported tensor element types are: "STRING", "INT64", "FLOAT", and "DOUBLE". Supported "MAP" types are: "STRING->FLOAT", and "INT64->FLOAT".
Parameters | |
---|---|
$values |
A sequence of ort:value .
|
ort:sequence((ort:value((2,3),(2),"float"),ort:value((1),(1),"float"))) => OrtSequence(Count:[2], Contents: [OrtValue(Shape:[2], Type: FLOAT), OrtValue(Shape:[1], Type: FLOAT), ])