cr.nimble.vec_rotate_left_n

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

Circular left 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

Left rotated x by n places.

Return type

jax.numpy.ndarray