def testOnpMean(self):
    x = lax.add(jnp.eye(3, dtype=jnp.float_), 0.0)
    ans = onp.mean(x)
    self.assertAllClose(ans, onp.array((1.0 / 3)), check_dtypes=False)
def testOnpMean(self):
    x = lax.add(jnp.eye(3, dtype=jnp.float_), 0.0)
    ans = onp.mean(x)
    self.assertAllClose(ans, onp.array((1.0 / 3)), check_dtypes=False)