ivy icon indicating copy to clipboard operation
ivy copied to clipboard

add the None type to the ord argument of the vector_norm backend

Open kimbring2 opened this issue 3 years ago • 0 comments

The issue is that the default of the ord argument of the jax.numpy.linalg.norm function is None.

Another framework usually has an int-type value for that.

Therefore, it looks like a good idea to add a condition for dealing with the None value for the norm of all backend.

I also add the None type for the test function to ensure that.

kimbring2 avatar Sep 25 '22 04:09 kimbring2