GetSparseTensorIndices property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtValue> ort_value, UnsignedInt indices_format, Pointer<Size> num_indices, Pointer<Pointer<Void> > indices)> >
GetSparseTensorIndices
getter/setter pair
\brief Returns indices data for the type of the indices specified by indices_format
\paramin ort_value ::OrtValue containing sparse tensor.
\paramin indices_format One of the indices formats. It is an error to request a format that the sparse tensor does not contain.
\paramout num_indices Pointer to where the number of indices entries is returned
\paramout indices Returned pointer to the indices data. Do not free the returned pointer as it refers to internal data owned by the ::OrtValue
\snippet{doc} snippets.dox OrtStatus Return Value
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtValue> ort_value,
ffi.UnsignedInt indices_format,
ffi.Pointer<ffi.Size> num_indices,
ffi.Pointer<ffi.Pointer<ffi.Void>> indices,
)
>
>
GetSparseTensorIndices;