Skip to content

Improved nn.py

Compare
Choose a tag to compare
@kmheckel kmheckel released this 17 Feb 10:53
· 16 commits to main since this release

I changed the nn definitions to use jnp.clip (hopefully faster) and changed it so that user specified beta values are single learnable constants for the layer - might change again in the future to allow flexible specification of either scalar or vectors for beta.