narrow

fun DagBuilder.narrow(tensor: GraphValue<*>, dim: Int, start: Int, length: Int, id: String = ""): GraphValue<*>

DSL extension for narrow.