GetBoundOutputNames property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtIoBinding> binding_ptr, Pointer<OrtAllocator> allocator, Pointer<Pointer<Char>> buffer, Pointer<Pointer<Size>> lengths, Pointer<Size> count)>> GetBoundOutputNames
getter/setter pair

\brief Get the names of an ::OrtIoBinding's outputs

Returns the names of the outputs in the order they were bound. This is useful after running the model with bound outputs because the returned names are in order in which output ::OrtValue are returned. This is useful if the order of outputs and their names is not known.

\paramin binding_ptr \paramin allocator Allocator used to allocate continuous buffers for output strings and lengths. \paramout buffer Returns an array of non-null terminated UTF-8 strings. The number of strings stored is returned in the count parameter. This buffer is allocated using allocator and must be freed using it. \paramout lengths Returns an array of count lengths of the strings returned in buffer This buffer is allocated using allocator and must be freed using it. \paramout count Number of strings returned. If binding_ptr has no bound outputs, zero is returned, no memory allocation is performed and buffer and lengths are set to nullptr.

\snippet{doc} snippets.dox OrtStatus Return Value

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtIoBinding> binding_ptr,
      ffi.Pointer<OrtAllocator> allocator,
      ffi.Pointer<ffi.Pointer<ffi.Char>> buffer,
      ffi.Pointer<ffi.Pointer<ffi.Size>> lengths,
      ffi.Pointer<ffi.Size> count,
    )
  >
>
GetBoundOutputNames;