narrow

fun narrow(a: Tensor<*, *>, dim: Int, start: Int, length: Int): Tensor<*, *>(source)

Extract a narrow slice along a dimension.