``brainstate.util`` module
==========================

.. currentmodule:: brainstate.util 
.. automodule:: brainstate.util 

Dict Operation
--------------

.. autosummary::
   :toctree: generated/
   :nosignatures:
   :template: classtemplate.rst

   flat_mapping
   nest_mapping
   NestedDict
   FlattedDict


Filter Operation
----------------

.. autosummary::
   :toctree: generated/
   :nosignatures:
   :template: classtemplate.rst

   to_predicate


Pretty Representation
---------------------

.. autosummary::
   :toctree: generated/
   :nosignatures:
   :template: classtemplate.rst

   PrettyType
   PrettyAttr
   PrettyRepr
   PrettyMapping
   MappingReprMixin


Struct Operation
----------------

.. autosummary::
   :toctree: generated/
   :nosignatures:
   :template: classtemplate.rst

   dataclass
   field
   PyTreeNode
   FrozenDict


Other Operations
----------------

.. autosummary::
   :toctree: generated/
   :nosignatures:
   :template: classtemplate.rst

   clear_buffer_memory
   not_instance_eval
   is_instance_eval
   DictManager
   DotDict


