flax icon indicating copy to clipboard operation
flax copied to clipboard

feature_request: support for tabulate/summary in the NNX API

Open AshishKumar4 opened this issue 1 year ago • 1 comments

Hey! I see that the Flax NNX APIs have visualization support via Penzai, but is there Module.tabulate or summary or something similar for nnx.Module objects? If not, is something already in the works?

Such functionalities are really helpful in quickly checking the number of parameters and distributions as well as the structure of the network and in debugging.

AshishKumar4 avatar Jun 04 '24 08:06 AshishKumar4

Hey! Having tabulate API is definitely on the horizon as having a top-tier debugging experience is very important for NNX. Its not in the works but something that we would add sooner than later.

Thanks for bringing it up, we can track the issue here and hopefully we can spend some cycles on it soon.

cgarciae avatar Jun 04 '24 09:06 cgarciae