macros#

Workflow macros to allow certain node and subgraph modifications

Functions

function_to_node(func)

Dynamically creates a new node type from an existing python function.

lambda_node(func)

Convert an anonymous function with single I/O into a node.

node_to_function(cls, **constructor_args)

Convert a node class to a function that takes inputs and parameters as function arguments.

parallel(node_type, n_branches[, inputs, ...])

Workflow macro to parallelize a node.