ivy
ivy copied to clipboard
add the None type to the ord argument of the vector_norm backend
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.