@Test
    public void testSplit2() throws ParseException {
        Tensor x = evaluate("tensor(d0[6]):[1,2,3,4,5,6]");
        assertEval("split", x, evaluate("tensor(d0[3]):[1,2,3]"), 0);
        assertEval("split", x, evaluate("tensor(d0[3]):[4,5,6]"), 1);
        assertEval("split", x, evaluate("tensor(d0[2]):[1,2]"), createAttribute("split", new int[] {2}), 0);
        assertEval("split", x, evaluate("tensor(d0[4]):[3,4,5,6]"), createAttribute("split", new int[] {2}), 1);
        assertEval("split", x, evaluate("tensor(d0[3]):[3,4,5]"), createAttribute("split", new int[] {2,3}), 1);
        assertEval("split", x, evaluate("tensor(d0[1]):[6]"), createAttribute("split", new int[] {2,3}), 2);

        x = evaluate("tensor(d0[2],d1[3]):[1,2,3,4,5,6]");
        assertEval("split", x, evaluate("tensor(d0[1],d1[3]):[1,2,3]"));
        assertEval("split", x, evaluate("tensor(d0[1],d1[3]):[1,2,3]"), 0);
        assertEval("split", x, evaluate("tensor(d0[1],d1[3]):[4,5,6]"), 1);
        assertEval("split", x, evaluate("tensor(d0[1],d1[3]):[1,2,3]"), createAttribute("split", new int[] {1}), 0);
        assertEval("split", x, evaluate("tensor(d0[1],d1[3]):[4,5,6]"), createAttribute("split", new int[] {1}), 1);
        assertEval("split", x, evaluate("tensor(d0[2],d1[1]):[1,4]"), createAttribute("axis", 1), 0);
        assertEval("split", x, evaluate("tensor(d0[2],d1[1]):[2,5]"), createAttribute("axis", 1), 1);
        assertEval("split", x, evaluate("tensor(d0[2],d1[1]):[3,6]"), createAttribute("axis", 1), 2);
    }
Unit tests for ONNX operators. The number on the test reflects the minimum
opset number for the operations tested.

@author lesters
model-integration/src/test/java/ai/vespa/rankingexpression/importer/onnx/OnnxOperationsTestCase.java