unfold

fun <T : DType, V> Tensor<T, V>.unfold(dim: Int, size: Int, step: Int): Tensor<T, V>(source)