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:
- inputs (dragon.Tensor) – The input tensor.
- repeats (Union[Sequence[int], dragon.Tensor]]) – The repetition for each axis.
 
 - Returns:
- dragon.Tensor – The output tensor. 
 
