docs-6.2.2/amd_openvx_extensions/amd_winml/include/vx_ext_winml.h File Reference#
The AMD OpenVX WinML Nodes Extension Library. More...
Go to the source code of this file.
Macros | |
#define | dimof(x) (sizeof(x) / sizeof(x[0])) |
A macro to get the number of elements in an array. More... | |
#define | SHARED_PUBLIC __attribute__((visibility("default"))) |
A macro to specify public visibility for shared library symbols. | |
Functions | |
vx_node | vxCreateNodeByStructure (vx_graph graph, vx_enum kernelenum, vx_reference params[], vx_uint32 num) |
Creates a node in a graph using a predefined kernel structure. More... | |
SHARED_PUBLIC vx_node VX_API_CALL | vxExtWinMLNode_OnnxToMivisionX (vx_graph graph, vx_scalar modelLocation, vx_scalar inputTensorName, vx_scalar outputTensorName, vx_tensor inputTensor, vx_array setupArray, vx_tensor outputTensor, vx_scalar deviceKind) |
[Graph] Creates a WinML import ONNX Model and run function node. More... | |
SHARED_PUBLIC vx_node VX_API_CALL | vxExtWinMLNode_convertImageToTensor (vx_graph graph, vx_image input, vx_tensor output, vx_scalar a, vx_scalar b, vx_scalar reverse_channel_order) |
[Graph] Creates a WinML convert image to tensor node. More... | |
SHARED_PUBLIC vx_node VX_API_CALL | vxExtWinMLNode_getTopKLabels (vx_graph graph, vx_tensor prob_tensor, vx_scalar labelFile, vx_scalar output_1, vx_scalar output_2, vx_scalar output_3, vx_scalar output_4, vx_scalar output_5) |
[Graph] Creates a output tensor to Top K labels node. More... | |
Detailed Description
The AMD OpenVX WinML Nodes Extension Library.
Macro Definition Documentation
◆ dimof
#define dimof | ( | x | ) | (sizeof(x) / sizeof(x[0])) |
A macro to get the number of elements in an array.
- Note
- [Graph] AMD OpenVX WinML Interop Nodes Extension is only supported on Windows.
- Parameters
-
[in] x The array whose size is to be determined.
- Returns
- The number of elements in the array.
Function Documentation
◆ vxCreateNodeByStructure()
vx_node vxCreateNodeByStructure | ( | vx_graph | graph, |
vx_enum | kernelenum, | ||
vx_reference | params[], | ||
vx_uint32 | num | ||
) |
Creates a node in a graph using a predefined kernel structure.
- Parameters
-
[in] graph The handle to the graph. [in] kernelenum The enum value representing the kernel to be used. [in] params An array of parameter references for the kernel. [in] num The number of parameters in the array.
- Returns
- A handle to the created node.