Skip to main content

ClikaRT::ops::tile

function

tile()

Tensor tile(Tensor x, ClikaRT::Span<const ScalarOrTensor> dims)

repeat that also accepts FEWER counts than the rank; missing leading entries default to 1. Counts are literals or 0-D integer Tensors (a tensor count traces symbolically). Copies.

Throws

  • ClikaRT::Error: (INVALID_ARGUMENT) when a count is negative (code_name() carries the reason).

Returns: a new tiled tensor.

Declared in ClikaRT/compute/ops.h, line 3310