jax.numpy.moveaxisΒΆ
-
jax.numpy.moveaxis(a, source, destination)[source]ΒΆ Move axes of an array to new positions.
LAX-backend implementation of
moveaxis().The JAX version of this function may in some cases return a copy rather than a view of the input.
Original docstring below.
Other axes remain in their original order.
New in version 1.11.0.
- Parameters
- Returns
result β Array with moved axes. This array is a view of the input array.
- Return type
np.ndarray