Node_GetAttributes property
\brief Returns a node's attributes as OrtOpAttr instances.
\paramin node The OrtNode instance.
\paramout attributes Pre-allocated array of num_attributes elements that is filled with the node's attributes.
\paramin num_attributes The size of the num_attributes array.
Typical usage sets this to the result of Node_GetNumAttributes(). An error status is
returned if num_attributes is less than the number of node attributes.
\note ONNX Runtime automatically sets optional (unset) attributes to their default values if the default value is a constant expression that does not depend on other tensor/model characteristics. Conv's 'kernel_shape' attribute is an example of an optional attribute that does not have a constant default value. This function does not provide any unset optional attributes without a constant default value.
\snippet{doc} snippets.dox OrtStatus Return Value
\since Version 1.23.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtNode> node,
ffi.Pointer<ffi.Pointer<OrtOpAttr>> attributes,
ffi.Size num_attributes,
)
>
>
Node_GetAttributes;