Tile - version 6#
This page documents version 6 of operator Tile. See Tile for the latest version (since version 13).
Domain:
ai.onnxSince version: 6
Constructs a tensor by tiling a given tensor.
This is the same as function tile in Numpy, but no broadcast.
For example A = [[1, 2], [3, 4]], B = [1, 2], tile(A, B) = [[1, 2, 1, 2], [3, 4, 3, 4]]
Inputs
input (T): Input tensor of any shape.
repeats (T1): 1D int64 tensor of the same length as input’s dimension number, includes numbers of repeated copies along input’s dimensions.
Outputs
output (T): Output tensor of the same dimensions and type as tensor input. output_dim[i] = input_dim[i] * repeats[i]
Type Constraints
T: Constrain input and output types to all tensor types. Allowed types: tensor(bool), tensor(complex128), tensor(complex64), tensor(double), tensor(float), tensor(float16), tensor(int16), tensor(int32), tensor(int64), tensor(int8), tensor(string), tensor(uint16), tensor(uint32), tensor(uint64), tensor(uint8).
T1: Constrain repeat’s type to int64 tensors. Allowed types: tensor(int64).