jax
jax copied to clipboard
differentially_private_sgd.py got TypeError
Description
From total_grad_norm:
TypeError: jnp.linalg.norm requires ndarray or scalar arguments, got <class 'list'> at position 0.
What jax/jaxlib version are you using?
jax v0.4.9, jaxlib v0.4.7
Which accelerator(s) are you using?
CPU
Additional system info
Python 3.8.16
NVIDIA GPU info
No response