OrtApi.CreateValue

To construct a map, use num_values = 2 and 'in' should be an arrary of 2 OrtValues representing keys and values. To construct a sequence, use num_values = N where N is the number of the elements in the sequence. 'in' should be an arrary of N OrtValues. \value_type should be either map or sequence.

struct OrtApi
OrtStatus* function(const(OrtValue*)* in_, size_t num_values, ONNXType value_type, OrtValue** out_) CreateValue;

Meta