IsTensor property

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

\brief Return if an ::OrtValue is a tensor type

\paramin value A tensor type (string tensors are not supported) \paramout out Set to 1 iff ::OrtValue is a tensor, 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,
    )
  >
>
IsTensor;