equinox icon indicating copy to clipboard operation
equinox copied to clipboard

Obtaining the name, values pairs in Equinox

Open sachith-gunasekara opened this issue 1 year ago • 10 comments

Pytorch has this default function that yields the parameter name-value pairs in a module including all its submodules called torch.nn.Module.named_parameters().

This function can be used in a loop as follows: for pn, p in self.named_parameters()

Is it possible to achieve something like this in JAX/Equinox?

sachith-gunasekara avatar May 18 '23 18:05 sachith-gunasekara