reshape

fun DagBuilder.reshape(tensor: GraphValue<*>, newShape: Shape, id: String = ""): GraphValue<*>

DSL extension for reshape.