![]() |
TIOVX User Guide
|
Class to represent user/target kernel. More...
Inherits tiovx.node.Node.
Public Member Functions | |
| def | __init__ (self, image_in, image_out, name="default", target=Target.DEFAULT) |
| Constructor for user/target kernel class. More... | |
| def | checkParams (self, param_type_args) |
| Parameter checking function. More... | |
| def | setParams (self, num_in, num_out, param_type_args) |
| Specify number of input/output parameters and data object type for each. More... | |
| def | setTarget (self, target) |
| Specify target on which to run this node. More... | |
| def | setKernelEnumName (self, kernel_enum_name) |
| Specify kernel enum name to use. More... | |
Class to represent user/target kernel.
Dervied from tiovx::node::Node base class
Definition at line 84 of file vx_tutorial_graph_user_kernel_pytiovx_uc.py.
| def vx_tutorial_graph_user_kernel_pytiovx_uc.NodePhaseRgb.__init__ | ( | self, | |
| image_in, | |||
| image_out, | |||
name = "default", |
|||
target = Target.DEFAULT |
|||
| ) |
Constructor for user/target kernel class.
| image_in | [in] Input image handle parameter for this function |
| image_out | [in] Output image handle parameter for this function |
| name | [in] user indetifiable name |
| target | [in] target CPU on which this kernel/node will run |
Definition at line 91 of file vx_tutorial_graph_user_kernel_pytiovx_uc.py.
| def vx_tutorial_graph_user_kernel_pytiovx_uc.NodePhaseRgb.checkParams | ( | self, | |
| param_type_args | |||
| ) |
Parameter checking function.
Checks if number of parameters passed is correct Checks if data type of parameters passed is correct
| param_type_args | [in] Variable number of args list of type tiovx.enums.Type to specify data object types |
Definition at line 103 of file vx_tutorial_graph_user_kernel_pytiovx_uc.py.
|
inherited |
Specify number of input/output parameters and data object type for each.
Assumes input parameters are followed by output parameters. It is recommended user kernels follow this convention.
| num_in | [in] Number of inputs |
| num_out | [in] Number of outputs |
| param_type_args | [in] Variable number of args list of type tiovx.enums.Type to specify data object types. Number of arguments MUST match num_in+num_out |
|
inherited |
Specify target on which to run this node.
| target | [in] Object of type tiovx.enums.Target |
|
inherited |