Convert inputs to arrays with at least one dimension.
LAX-backend implementation of
The JAX version of this function may in some cases return a copy rather than a view of the input.
Original docstring below.
Scalar inputs are converted to 1-dimensional arrays, whilst higher-dimensional inputs are preserved.
ret – An array, or list of arrays, each with
a.ndim >= 1. Copies are made only if necessary.
- Return type