definition_helpers

This is summary documentation for hippynn.graphs.nodes.base.definition_helpers module. Click here for full documentation.

Links to Full Documentation:

Tools for organizing node definitions.

Usage of these tools is optional; they support node definitions but are not required.

Note

The functions in this module are intended purely for defining new types of nodes. They are not strictly necessary; they only aid in defining more complex node behavior in a simple fashion.

Functions

adds_to_forms(fn)

format_form_name(form)

temporary_parents(child, parents)

Context manager for temporarily connecting a node to a set of parents.

Classes

AlwaysMatch()

AutoKw()

AutoNoKw()

CompatibleIdxTypeTransformer(form)

ExpandParentMeta

ExpandParents()

FormAssertLength(length)

FormAssertion(form)

FormHandler()

FormTransformer(form, fn)

IndexFormTransformer(form, idxstates)

MainOutputTransformer(form)

ParentExpander()

Manager object to register and implement optional steps in building a graph node.

Exceptions

TupleTypeMismatch