5.3.5. backend.is_array

eminus.backend.is_array(value)[source]

Check if the object is coming from NumPy, CuPy, or Torch.

Parameters:

value – Input array.

Returns:

If the value is an array supported by the available backends.