There is a newer version of the record available.

Published October 8, 2022 | Version v0.1.10
Software Open

ASEM000/PyTreeClass: v0.1.10

Authors/Creators

  • 1. KAIST

Description

Full Changelog: https://github.com/ASEM000/PyTreeClass/compare/v0.1.9...v0.1.10

Changes
  • Added subtree size and param count in tree_mermaid placed on tree arrows.
  • Add pytc.field wrapping dataclasses.field with extra nondiff, frozen arguments
  • Add pytc.fields similar to dataclasses.fields which returns dataclasses fields and the undeclared fields
  • Add pytc.is_treeclass_{frozen, leaf_bool, leaf, equal}
  • Expand container in tree_diagram and tree_summary if at least one treeclass item exist .
  • Enable setting arbitrary types for .at[].set(...)
  • Minor refactoring

Files

ASEM000/PyTreeClass-v0.1.10.zip

Files (152.8 kB)

Name Size Download all
md5:49b2eed57ec1721f258a52f4517cafab
152.8 kB Preview Download

Additional details

Related works