base

Full Documentation for hippynn.graphs.nodes.base package. Click here for a summary page.

Core classes and functions for nodes.

This subpackage is separated into separate files to reduce the complexity of understanding the definitions.

For a user, all relevant functions and names should be exposed here.

The basic functionality of a node in a directed graph is defined in node_functions.py as _NodeMethods.

To augment this, the registration of dunder methods is implemented in algebra.py.

Combining these, base.py defines many of the core node classes.

the multi.py module goes on to define a particular core class of import, the MultiNode, which itself represents a single pytorch computation which returns multiple tensors.

Last but not least is definition_helpers, which contains optional features which help to simplify the creation nodes using flexible parent types.

Submodules