KernelInfoGetAttributeArray_float property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtKernelInfo> info, Pointer<Char> name, Pointer<Float> out, Pointer<Size> size)>> KernelInfoGetAttributeArray_float
getter/setter pair

\brief Fetch an array of int64_t values stored as an attribute in the graph node

If out is nullptr, the value of size is set to the true size of the attribute array's size, and a success status is returned.

If the size parameter is greater than or equal to the actual attribute array's size, the value of size is set to the true size of the attribute array's size, the provided memory is filled with the attribute's contents, and a success status is returned.

If the size parameter is less than the actual attribute array's size and out is not nullptr, the value of size is set to the true size of the attribute array's size and a failure status is returned.)

\paramin info instance \paramin name name of the attribute to be parsed \paramout out pointer to memory where the attribute's contents are to be stored \paramin, out size actual size of attribute array

\snippet{doc} snippets.dox OrtStatus Return Value

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtKernelInfo> info,
      ffi.Pointer<ffi.Char> name,
      ffi.Pointer<ffi.Float> out,
      ffi.Pointer<ffi.Size> size,
    )
  >
>
KernelInfoGetAttributeArray_float;