cr.nimble.vec_rotate_right_n

cr.nimble.vec_rotate_right_n(x, n)[source]

Circular right shift the contents of the vector by n places

Parameters
  • x (jax.numpy.ndarray) – A line vector.

  • n (int) – Number of positions to shift.

Returns

Right roted x by n places.

Return type

jax.numpy.ndarray