Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Usage: ```python import pyglove as pg class Foo(pg.Functor): x: int y: int def _call(self) -> int: return self.x + self.y Foo(1, 2)() # Early bound. Foo()(1, 2) # Late bound. Foo(1)(y=2) # Partial bound. Foo(1, 2)(y=3, override_args=True) # Partial bound with override. ... ``` This CL also renames `pg.Functor.signature` to `pg.Functor.__signature__`. PiperOrigin-RevId: 563788916
- Loading branch information