There is a newer version of the record available.

Published May 12, 2023 | Version v0.3.4
Software Open

ASEM000/PyTreeClass: v0.3.4

Authors/Creators

  • 1. KAIST

Description

What's Changed
  • Exposed internal Partial (used for bcmap) for jaxable partial functions with positional arguments support
      >>> import pytreeclass as pytc
      >>> def f(a, b, c):
      ...     print(f"a: {a}, b: {b}, c: {c}")
      ...     return a + b + c

      >>> # positional arguments using `...` placeholder
      >>> f_a = pytc.Partial(f, ..., 2, 3)
      >>> f_a(1)
      a: 1, b: 2, c: 3
      6

Files

ASEM000/PyTreeClass-v0.3.4.zip

Files (269.9 kB)

Name Size Download all
md5:62856595c5aa4965926e09c0a2c7b722
269.9 kB Preview Download

Additional details

Related works