jax icon indicating copy to clipboard operation
jax copied to clipboard

differentially_private_sgd.py got TypeError

Open shs037 opened this issue 3 years ago • 0 comments

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

shs037 avatar Apr 09 '23 21:04 shs037