Mojo function
tile
tile(input: Symbol, repeats: List[SIMD[int64, 1], 0]) -> Symbol
Returns a new Tensor as the result of copying the input tensor N_i times on each dimension, where N_i = tiles[i].
The i-th dimension of output shape will be the ith dimension of input shape multiplied by N_i.
Args:
- input (
Symbol
): The input tensor to tile. - repeats (
List[SIMD[int64, 1], 0]
): A list containing the number of repeats to perform across each dimension. The length of the list must be the same as the rank of the input tensor.
Returns:
A symbolic tensor value containing input repeated across the specified dimensions.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
😔 What went wrong?