tile

ivy.tile(x: ivy.NativeArray, reps: List[int], f: Optional[ivy.Framework] = None) → ivy.NativeArray[source]

Constructs an array by repeating x the number of times given by reps.

Parameters
  • x (array) – Input array.

  • reps (sequence of ints) – The number of repetitions of x along each axis.

  • f (ml_framework, optional) – Machine learning framework. Inferred from inputs if None.

Returns

The tiled output array.


Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty