Node#

class brainstate.graph.Node(*args, **kwargs)#

Base class for all graph nodes in the BrainState framework.

check_valid_context(error_msg)[source]#

Check if the current context is valid for mutation.

Return type:

None