CreateNode property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<Char> operator_name, Pointer<Char> domain_name, Pointer<Char> node_name, Pointer<Pointer<Char> > input_names, Size input_names_len, Pointer<Pointer<Char> > output_names, Size output_names_len, Pointer<Pointer<OrtOpAttr> > attributes, Size attribs_len, Pointer<Pointer<OrtNode> > node)> >
CreateNode
getter/setter pair
\brief Create an OrtNode to add to an OrtGraph.
Create an OrtNode.
Create attributes with CreateOpAttr. OrtOpAttr instances are copied.
\paramin operator_name The name of the operator.
\paramin domain_name The domain of the operator. Use an empty string for ONNX operators.
\paramin node_name The name of the node.
\paramin input_names The names of the inputs.
\paramin input_names_len The number of input names.
\paramin output_names The names of the outputs.
\paramin output_names_len The number of output names.
\paramin attributes The optional attributes of the node.
\paramin attribs_len The number of attributes. May be zero.
\paramout node The OrtNode instance.
\snippet{doc} snippets.dox OrtStatus Return Value
\since Version 1.22.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<ffi.Char> operator_name,
ffi.Pointer<ffi.Char> domain_name,
ffi.Pointer<ffi.Char> node_name,
ffi.Pointer<ffi.Pointer<ffi.Char>> input_names,
ffi.Size input_names_len,
ffi.Pointer<ffi.Pointer<ffi.Char>> output_names,
ffi.Size output_names_len,
ffi.Pointer<ffi.Pointer<OrtOpAttr>> attributes,
ffi.Size attribs_len,
ffi.Pointer<ffi.Pointer<OrtNode>> node,
)
>
>
CreateNode;