v0.6.0 Allow nested mutations using .at[method](*args, **kwargs). After the change, inner methods can mutate copied new instances at any level not just the top level. a motivation for this is to experiment with lazy initialization scheme, where inner layers need to mutate their inner state. see the example below for flax-like lazy initialization as descriped here ```python import pytreeclass as pytc import jax.random as jr from typing import Any import jax import jax.numpy as jnp from typing import Callable, TypeVar T = TypeVar("T") @pytc.autoinit class LazyLinear(pytc.TreeClass): outdim: int weight_init: Callable[..., T] = jax.nn.initializers.glorot_normal() bias_init: Callable[..., T] = jax.nn.initializers.zeros de...
What's Changed [DOC] Mention MNE installers by @mscheltienne in https://github.com/vferat/pycrost...
Breaking change v0.3 For better typing, the decorator-based approach is changed to subclassing appro...
What's Changed Annotated callbacks by @ASEM000 in https://github.com/ASEM000/PyTreeClass/pull/62 mo...
Changelog PyTreeClass v0.5 Breaking changes Auto generation of `initmethod from type hints is decoup...
V0.8 Additions: Add on_getattr in field to apply function on __getattr__ Breaking changes: Rename...
Big update Mostly rewritten from scratch. Changes: Drop the standard library dataclasses.dataclass...
What's Changed Match named leaves with regular expressions by @ASEM000 in https://github.com/ASEM00...
Changes Remove _mutable Slight internal behavior change: treeclass is created mutable and is set ...
What's Changed Deprecate auto unwrapping in favor of Freeze/unfreeze pattern by @ASEM000 in https:/...
fix unordered keys bug in registering instance variables Full Changelog: https://github.com/ASEM000/...
<ul> <li>new <code>clone(self, remove_int_base=False)</code> API on <code...
Add id entry for standard python datatypes and treeclass wrapped classes in the metadata path. imp...
What's Changed Exposed internal Partial (used for bcmap) for jaxable partial functions with positio...
What's Changed All instance variables are leaves by @ASEM000 in https://github.com/ASEM000/PyTreeCl...
<ul> <li><p><code>lazy_value</code> parameters are now cached by pytes...
What's Changed [DOC] Mention MNE installers by @mscheltienne in https://github.com/vferat/pycrost...
Breaking change v0.3 For better typing, the decorator-based approach is changed to subclassing appro...
What's Changed Annotated callbacks by @ASEM000 in https://github.com/ASEM000/PyTreeClass/pull/62 mo...
Changelog PyTreeClass v0.5 Breaking changes Auto generation of `initmethod from type hints is decoup...
V0.8 Additions: Add on_getattr in field to apply function on __getattr__ Breaking changes: Rename...
Big update Mostly rewritten from scratch. Changes: Drop the standard library dataclasses.dataclass...
What's Changed Match named leaves with regular expressions by @ASEM000 in https://github.com/ASEM00...
Changes Remove _mutable Slight internal behavior change: treeclass is created mutable and is set ...
What's Changed Deprecate auto unwrapping in favor of Freeze/unfreeze pattern by @ASEM000 in https:/...
fix unordered keys bug in registering instance variables Full Changelog: https://github.com/ASEM000/...
<ul> <li>new <code>clone(self, remove_int_base=False)</code> API on <code...
Add id entry for standard python datatypes and treeclass wrapped classes in the metadata path. imp...
What's Changed Exposed internal Partial (used for bcmap) for jaxable partial functions with positio...
What's Changed All instance variables are leaves by @ASEM000 in https://github.com/ASEM000/PyTreeCl...
<ul> <li><p><code>lazy_value</code> parameters are now cached by pytes...
What's Changed [DOC] Mention MNE installers by @mscheltienne in https://github.com/vferat/pycrost...
Breaking change v0.3 For better typing, the decorator-based approach is changed to subclassing appro...
What's Changed Annotated callbacks by @ASEM000 in https://github.com/ASEM000/PyTreeClass/pull/62 mo...