public Tensor Tile(Tensor x, int n, int axis = 0) { axis = CorrDim(x.DimCount, axis); if (axis == 0) { axis = 1; } else { axis = 1; } return(Out(C.Splice(VariableVector.Repeat(In(x), n), new Axis(axis)))); }