IsSparseTensor property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtValue> value, Pointer<Int> out)>> IsSparseTensor
getter/setter pair

\brief Sets *out to 1 iff an ::OrtValue is a SparseTensor, and 0 otherwise

\paramin value existing ::OrtValue \paramout out unless an error occurs, contains 1 iff the value contains an instance of sparse tensor or 0 otherwise.

\snippet{doc} snippets.dox OrtStatus Return Value

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtValue> value,
      ffi.Pointer<ffi.Int> out,
    )
  >
>
IsSparseTensor;