is_array

ivy.is_array(x, f=None)[source]

Determines whether the input x is an Ivy Array.

Parameters
  • x (any) – The input to check

  • f (ml_framework, optional) – Machine learning framework. Inferred from inputs if None.

Returns

Boolean, whether or not x is an array.


Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty