Skip to content

Conversation

cgarciae
Copy link

@cgarciae cgarciae commented Jan 3, 2023

This PR makes Metric and Collection inherit from flax.struct.PyTreeNode, this makes creating new metric types more ergonomic as you no longer need to decorate the class with flax.struct.dataclass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant