tile

dragon.tile(
  inputs,
  repeats,
  **kwargs
)[source]

Repeat elements along each axis of input.

Examples:

x = dragon.constant([[1, 2], [3, 4]])
print(dragon.tile(x, repeats=(1, 2)))  # [[1, 2, 1, 2], [3, 4, 3, 4]]
Parameters:
Returns:

dragon.Tensor – The output tensor.