Node object used to generate an AND node.
More...
Inherits tiovx.node.Node.
|
def | __init__ (self, image_in1, image_in2, image_out3, name="default", target=Target.DEFAULT) |
| Constructor used to create this object. 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...
|
|
Node object used to generate an AND node.
- Example Usage: Creating AND node
Definition at line 539 of file node.py.
◆ __init__()
def tiovx.node.NodeAnd.__init__ |
( |
|
self, |
|
|
|
image_in1, |
|
|
|
image_in2, |
|
|
|
image_out3, |
|
|
|
name = "default" , |
|
|
|
target = Target.DEFAULT |
|
) |
| |
Constructor used to create this object.
- See also
- vxAndNode for more details about the parameters
- Parameters
-
image_in1 | [in] First input image |
image_in2 | [in] Second input image |
image_out3 | [in] Output image |
name | [in] [optional] Name of the node; Default="default" |
target | [in] [optional] Default core to run on; Default="Target.DEFAULT" |
Definition at line 549 of file node.py.
◆ setParams()
def tiovx.node.Node.setParams |
( |
|
self, |
|
|
|
num_in, |
|
|
|
num_out, |
|
|
|
param_type_args |
|
) |
| |
|
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.
- Parameters
-
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 |
Definition at line 327 of file node.py.
◆ setTarget()
def tiovx.node.Node.setTarget |
( |
|
self, |
|
|
|
target |
|
) |
| |
|
inherited |
Specify target on which to run this node.
- Parameters
-
Definition at line 339 of file node.py.
◆ setKernelEnumName()
def tiovx.node.Node.setKernelEnumName |
( |
|
self, |
|
|
|
kernel_enum_name |
|
) |
| |
|
inherited |
Specify kernel enum name to use.
Use "VX_USER_KERNEL" as 'kernel_enum_name' for custom/user kernels
- Parameters
-
kernel_enum_name | [in] Type string. |
Definition at line 354 of file node.py.
The documentation for this class was generated from the following file: