meshgrid

ivy.meshgrid(*xs: List[ivy.NativeArray], indexing: str = 'ij', f: Optional[ivy.Framework] = None) → List[ivy.NativeArray][source]

Broadcasts parameters for evaluation on an N-D grid.

Parameters
  • xs (sequence of arrays) – input arrays

  • indexing (str, optional) – The indexing method, either ‘xy’ or ‘ij’. Default is ‘ij’.

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

Returns

list of N-D coordinate arrays for evaluating expressions on an N-D grid


Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty