The operation to have its output repeated.
The number of repetitions to perform.
Return: The new Operation.
import dopt.core : evaluate; auto r1 = float32([2], [1.0f, 2.0f]).repeat(3); assert(r1.evaluate().get!float == [ 1.0f, 2.0f, 1.0f, 2.0f, 1.0f, 2.0f ]);
Repeats the output of an operation the given number of times.
A new dimension is added, allowing one to index each of these repetitions.