code: def _apply_array(self, arrays: tp.Sequence[np.ndarray]) -> np.ndarray:
      assert len(arrays) == 1
      data = arrays[0]
      axes = tuple(range(data.ndim)) if self.axes is None else self.axes
      shifts = [self.random_state.randint(data.shape[a]) for a in axes]
      return np.roll(data, shifts, axis=axes)
  
imports: import typing
  import numpy
  from .None import core
  from .None import transforms
  from .data import Data, Scalar
  from .choice import Choice
  from .None import _layering
label_desc: Use image node_id 4 for calling the Translation obj's underlying member method code with example usage: obj._apply_array(arrays) and returns: np