Xenova's picture
Xenova HF Staff
sync 4385228f788d
d15fb71 verified
Raw History Blame
31.7 kB
{
"fixtureArrays": {
"ort_positive_axis_scalar_split_rank3_input_input": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24],
"onnx_backend_split_scalar_axis1_three_outputs_input_input": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
},
"cases": [
{
"name": "dispatch_cliff_two_outputs_axis0_f32",
"attrs": { "axis": 0, "keepdims": 1 },
"inputs": {
"input": {
"dtype": "float32",
"shape": [16777217, 1],
"data": { "kind": "linspace", "start": 0.0, "end": 1.0 }
},
"split": { "dtype": "int64", "shape": [2], "data": { "kind": "values", "values": [16777216, 1] } }
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [16777216, 1], "tolerance": 0 },
"output_sequence1": { "dtype": "float32", "shape": [1, 1], "tolerance": 0 }
}
},
{
"name": "split_1d_three_chunks_f32",
"attrs": { "axis": 0 },
"inputs": {
"input": {
"dtype": "float32",
"shape": [6, 2],
"data": { "kind": "fillFloat32", "sinStep": 0.21, "cosStep": 0.37 }
},
"split": { "dtype": "int64", "shape": [3], "data": { "kind": "values", "values": [2, 2, 2] } }
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [2, 2], "tolerance": 0.000001 },
"output_sequence1": { "dtype": "float32", "shape": [2, 2], "tolerance": 0.000001 },
"output_sequence2": { "dtype": "float32", "shape": [2, 2], "tolerance": 0.000001 }
}
},
{
"name": "split_1d_unequal_two_chunks_f32",
"attrs": { "axis": 0 },
"inputs": {
"input": {
"dtype": "float32",
"shape": [5, 3],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.29 }
},
"split": { "dtype": "int64", "shape": [2], "data": { "kind": "values", "values": [2, 3] } }
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [2, 3], "tolerance": 0.000001 },
"output_sequence1": { "dtype": "float32", "shape": [3, 3], "tolerance": 0.000001 }
}
},
{
"name": "scalar_split_two_chunks_f32",
"attrs": { "axis": 0 },
"inputs": {
"input": {
"dtype": "float32",
"shape": [4, 2],
"data": { "kind": "fillFloat32", "sinStep": 0.33, "cosStep": 0.17 }
},
"split": { "dtype": "int64", "shape": [], "data": { "kind": "values", "values": [3] } }
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [3, 2], "tolerance": 0.000001 },
"output_sequence1": { "dtype": "float32", "shape": [1, 2], "tolerance": 0.000001 }
}
},
{
"name": "no_split_keepdims1_three_f32",
"attrs": { "axis": 0, "keepdims": 1 },
"inputs": {
"input": {
"dtype": "float32",
"shape": [3, 2],
"data": { "kind": "fillFloat32", "sinStep": 0.41, "cosStep": 0.23 }
}
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [1, 2], "tolerance": 0.000001 },
"output_sequence1": { "dtype": "float32", "shape": [1, 2], "tolerance": 0.000001 },
"output_sequence2": { "dtype": "float32", "shape": [1, 2], "tolerance": 0.000001 }
}
},
{
"name": "no_split_keepdims0_three_f32",
"attrs": { "axis": 0, "keepdims": 0 },
"inputs": {
"input": {
"dtype": "float32",
"shape": [3, 2],
"data": { "kind": "fillFloat32", "sinStep": 0.41, "cosStep": 0.23 }
}
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [2], "tolerance": 0.000001 },
"output_sequence1": { "dtype": "float32", "shape": [2], "tolerance": 0.000001 },
"output_sequence2": { "dtype": "float32", "shape": [2], "tolerance": 0.000001 }
}
},
{
"name": "axis1_two_chunks_f32",
"attrs": { "axis": 1 },
"inputs": {
"input": {
"dtype": "float32",
"shape": [2, 4],
"data": { "kind": "fillFloat32", "sinStep": 0.19, "cosStep": 0.31 }
},
"split": { "dtype": "int64", "shape": [2], "data": { "kind": "values", "values": [2, 2] } }
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [2, 2], "tolerance": 0.000001 },
"output_sequence1": { "dtype": "float32", "shape": [2, 2], "tolerance": 0.000001 }
}
},
{
"name": "split_1d_three_chunks_f16",
"attrs": { "axis": 0 },
"inputs": {
"input": {
"dtype": "float16",
"shape": [6, 2],
"data": { "kind": "fillFloat32", "sinStep": 0.21, "cosStep": 0.37 }
},
"split": { "dtype": "int64", "shape": [3], "data": { "kind": "values", "values": [2, 2, 2] } }
},
"outputs": {
"output_sequence0": { "dtype": "float16", "shape": [2, 2], "tolerance": 0.002 },
"output_sequence1": { "dtype": "float16", "shape": [2, 2], "tolerance": 0.002 },
"output_sequence2": { "dtype": "float16", "shape": [2, 2], "tolerance": 0.002 }
}
},
{
"name": "ort_default_axis0_equal_split_float",
"provenance": {
"source": "onnxruntime/test/providers/cpu/sequence/sequence_ops_test.cc",
"test": "SequenceOpsTest.SplitToSequence_DefaultAxis0EqualSplitFloat",
"notes": "ONNX takes a scalar or 1-D split; the ORT test passes it with shape {1, 2}, so this case passes the 1-D [2, 2]."
},
"inputs": {
"input": {
"dtype": "float32",
"shape": [4, 2],
"data": { "kind": "values", "values": [1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0] }
},
"split": { "dtype": "int64", "shape": [2], "data": { "kind": "values", "values": [2, 2] } }
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [2, 2], "tolerance": 0.000001 },
"output_sequence1": { "dtype": "float32", "shape": [2, 2], "tolerance": 0.000001 }
}
},
{
"name": "ort_default_axis0_equal_split_float16",
"provenance": {
"source": "onnxruntime/test/providers/cpu/sequence/sequence_ops_test.cc",
"test": "SequenceOpsTest.SplitToSequence_DefaultAxis0EqualSplitMLFloat16",
"notes": "ONNX takes a scalar or 1-D split; the ORT test passes it with shape {1, 2}, so this case passes the 1-D [2, 2]."
},
"inputs": {
"input": {
"dtype": "float16",
"shape": [4, 2],
"data": { "kind": "values", "values": [1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0] }
},
"split": { "dtype": "int64", "shape": [2], "data": { "kind": "values", "values": [2, 2] } }
},
"outputs": {
"output_sequence0": { "dtype": "float16", "shape": [2, 2], "tolerance": 0.002 },
"output_sequence1": { "dtype": "float16", "shape": [2, 2], "tolerance": 0.002 }
}
},
{
"name": "ort_default_axis0_scalar_split_float",
"provenance": {
"source": "onnxruntime/test/providers/cpu/sequence/sequence_ops_test.cc",
"test": "SequenceOpsTest.SplitToSequence_DefaultAxis0EqualSplitFloatScalarSplit"
},
"inputs": {
"input": {
"dtype": "float32",
"shape": [4, 2],
"data": { "kind": "values", "values": [1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0] }
},
"split": { "dtype": "int64", "shape": [], "data": { "kind": "values", "values": [2] } }
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [2, 2], "tolerance": 0.000001 },
"output_sequence1": { "dtype": "float32", "shape": [2, 2], "tolerance": 0.000001 }
}
},
{
"name": "ort_default_axis0_uneven_scalar_split_float",
"provenance": {
"source": "onnxruntime/test/providers/cpu/sequence/sequence_ops_test.cc",
"test": "SequenceOpsTest.SplitToSequence_DefaultAxis0UnevenSplitFloat"
},
"inputs": {
"input": {
"dtype": "float32",
"shape": [5, 2],
"data": { "kind": "values", "values": [1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0] }
},
"split": { "dtype": "int64", "shape": [], "data": { "kind": "values", "values": [2] } }
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [2, 2], "tolerance": 0.000001 },
"output_sequence1": { "dtype": "float32", "shape": [2, 2], "tolerance": 0.000001 },
"output_sequence2": { "dtype": "float32", "shape": [1, 2], "tolerance": 0.000001 }
}
},
{
"name": "ort_positive_axis_scalar_split_rank3",
"attrs": { "axis": 2 },
"provenance": {
"source": "onnxruntime/test/providers/cpu/sequence/sequence_ops_test.cc",
"test": "SequenceOpsTest.SplitToSequence_PositiveAxisScalarSplit"
},
"inputs": {
"input": {
"dtype": "float32",
"shape": [2, 2, 6],
"data": {
"kind": "values",
"values": { "$ref": "#/fixtureArrays/ort_positive_axis_scalar_split_rank3_input_input" }
}
},
"split": { "dtype": "int64", "shape": [], "data": { "kind": "values", "values": [2] } }
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [2, 2, 2], "tolerance": 0.000001 },
"output_sequence1": { "dtype": "float32", "shape": [2, 2, 2], "tolerance": 0.000001 },
"output_sequence2": { "dtype": "float32", "shape": [2, 2, 2], "tolerance": 0.000001 }
}
},
{
"name": "ort_positive_axis_uneven_scalar_split",
"attrs": { "axis": 1 },
"provenance": {
"source": "onnxruntime/test/providers/cpu/sequence/sequence_ops_test.cc",
"test": "SequenceOpsTest.SplitToSequence_PositiveAxisUnevenSplit"
},
"inputs": {
"input": {
"dtype": "float32",
"shape": [2, 5],
"data": { "kind": "values", "values": [1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0] }
},
"split": { "dtype": "int64", "shape": [], "data": { "kind": "values", "values": [2] } }
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [2, 2], "tolerance": 0.000001 },
"output_sequence1": { "dtype": "float32", "shape": [2, 2], "tolerance": 0.000001 },
"output_sequence2": { "dtype": "float32", "shape": [2, 1], "tolerance": 0.000001 }
}
},
{
"name": "ort_axis0_keepdims0_rank3",
"attrs": { "axis": 0, "keepdims": 0 },
"provenance": {
"source": "onnxruntime/test/providers/cpu/sequence/sequence_ops_test.cc",
"test": "SequenceOpsTest.SplitToSequence_Axis0DefaultSplitFloatSetAxisExplicitlyDontKeepDims3Dim"
},
"inputs": {
"input": {
"dtype": "float32",
"shape": [2, 3, 4],
"data": {
"kind": "values",
"values": { "$ref": "#/fixtureArrays/ort_positive_axis_scalar_split_rank3_input_input" }
}
}
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [3, 4], "tolerance": 0.000001 },
"output_sequence1": { "dtype": "float32", "shape": [3, 4], "tolerance": 0.000001 }
}
},
{
"name": "ort_axis0_keepdims0_rank2",
"attrs": { "axis": 0, "keepdims": 0 },
"provenance": {
"source": "onnxruntime/test/providers/cpu/sequence/sequence_ops_test.cc",
"test": "SequenceOpsTest.SplitToSequence_Axis0DefaultSplitFloatSetAxisExplicitlyDontKeepDims2Dim"
},
"inputs": {
"input": {
"dtype": "float32",
"shape": [2, 3],
"data": { "kind": "values", "values": [1.0, 2.0, 3.0, 4.0, 5.0, 6.0] }
}
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [3], "tolerance": 0.000001 },
"output_sequence1": { "dtype": "float32", "shape": [3], "tolerance": 0.000001 }
}
},
{
"name": "ort_default_axis0_four_outputs",
"provenance": {
"source": "onnxruntime/test/providers/cpu/sequence/sequence_ops_test.cc",
"test": "SequenceOpsTest.SplitToSequence_Axis0DefaultSplitFloatSetAxisExplicitly",
"notes": "The four sequence elements are returned as `output_sequence` elements 0 through 3."
},
"attrs": { "axis": 0 },
"inputs": {
"input": {
"dtype": "float32",
"shape": [4, 2],
"data": { "kind": "values", "values": [1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0] }
}
},
"outputs": {
"output_sequence0": {
"dtype": "float32",
"shape": [1, 2],
"tolerance": 0.000001,
"data": { "kind": "values", "values": [1.0, 2.0] }
},
"output_sequence1": {
"dtype": "float32",
"shape": [1, 2],
"tolerance": 0.000001,
"data": { "kind": "values", "values": [3.0, 4.0] }
},
"output_sequence2": {
"dtype": "float32",
"shape": [1, 2],
"tolerance": 0.000001,
"data": { "kind": "values", "values": [5.0, 6.0] }
},
"output_sequence3": {
"dtype": "float32",
"shape": [1, 2],
"tolerance": 0.000001,
"data": { "kind": "values", "values": [7.0, 8.0] }
}
}
},
{
"name": "ort_bool_split_axis0_four_outputs",
"provenance": {
"source": "onnxruntime/test/providers/cpu/sequence/sequence_ops_test.cc",
"test": "SequenceOpsTest.SplitToSequence_BoolSplit",
"notes": "The four boolean sequence elements are returned as `output_sequence` elements 0 through 3."
},
"attrs": { "axis": 0 },
"inputs": {
"input": { "dtype": "bool", "shape": [4, 2], "data": { "kind": "values", "values": [1, 1, 1, 1, 0, 0, 0, 0] } }
},
"outputs": {
"output_sequence0": {
"dtype": "bool",
"shape": [1, 2],
"tolerance": 0,
"data": { "kind": "values", "values": [1, 1] }
},
"output_sequence1": {
"dtype": "bool",
"shape": [1, 2],
"tolerance": 0,
"data": { "kind": "values", "values": [1, 1] }
},
"output_sequence2": {
"dtype": "bool",
"shape": [1, 2],
"tolerance": 0,
"data": { "kind": "values", "values": [0, 0] }
},
"output_sequence3": {
"dtype": "bool",
"shape": [1, 2],
"tolerance": 0,
"data": { "kind": "values", "values": [0, 0] }
}
}
},
{
"name": "ort_positive_axis_keepdims0_four_outputs",
"provenance": {
"source": "onnxruntime/test/providers/cpu/sequence/sequence_ops_test.cc",
"test": "SequenceOpsTest.SplitToSequence_PositiveAxisDontKeepDims",
"notes": "With keepdims=0, splitting axis 2 removes that axis from each chunk and returns the four chunks as `output_sequence` elements 0 through 3."
},
"attrs": { "axis": 2, "keepdims": 0 },
"inputs": {
"input": {
"dtype": "float32",
"shape": [2, 3, 4],
"data": {
"kind": "values",
"values": { "$ref": "#/fixtureArrays/ort_positive_axis_scalar_split_rank3_input_input" }
}
}
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [2, 3], "tolerance": 0.000001 },
"output_sequence1": { "dtype": "float32", "shape": [2, 3], "tolerance": 0.000001 },
"output_sequence2": { "dtype": "float32", "shape": [2, 3], "tolerance": 0.000001 },
"output_sequence3": { "dtype": "float32", "shape": [2, 3], "tolerance": 0.000001 }
}
},
{
"name": "ort_default_axis0_uneven_six_outputs",
"provenance": {
"source": "onnxruntime/test/providers/cpu/sequence/sequence_ops_test.cc",
"test": "SequenceOpsTest.SplitToSequence_DefaultAxis0UnevenSplitFloat2",
"notes": "Valid ONNX uneven scalar split producing six sequence elements."
},
"inputs": {
"input": {
"dtype": "float32",
"shape": [17, 2],
"data": {
"kind": "values",
"values": [1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0, 26.0, 27.0, 28.0, 29.0, 30.0, 31.0, 32.0, 33.0, 34.0]
}
},
"split": { "dtype": "int64", "shape": [], "data": { "kind": "values", "values": [3] } }
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [3, 2], "tolerance": 0.000001 },
"output_sequence1": { "dtype": "float32", "shape": [3, 2], "tolerance": 0.000001 },
"output_sequence2": { "dtype": "float32", "shape": [3, 2], "tolerance": 0.000001 },
"output_sequence3": { "dtype": "float32", "shape": [3, 2], "tolerance": 0.000001 },
"output_sequence4": { "dtype": "float32", "shape": [3, 2], "tolerance": 0.000001 },
"output_sequence5": { "dtype": "float32", "shape": [2, 2], "tolerance": 0.000001 }
}
},
{
"name": "onnx_backend_split_scalar_axis1_three_outputs",
"attrs": { "axis": 1 },
"provenance": {
"source": "cmake/external/onnx/onnx/backend/test/data/node/test_split_to_sequence_1",
"notes": "The ONNX sequence output is returned as three `output_sequence` tensors; the int64 split is a scalar."
},
"inputs": {
"input": {
"dtype": "float32",
"shape": [3, 6],
"data": {
"kind": "values",
"values": { "$ref": "#/fixtureArrays/onnx_backend_split_scalar_axis1_three_outputs_input_input" }
}
},
"split": { "dtype": "int64", "shape": [], "data": { "kind": "values", "values": [2] } }
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [3, 2], "tolerance": 0.000001 },
"output_sequence1": { "dtype": "float32", "shape": [3, 2], "tolerance": 0.000001 },
"output_sequence2": { "dtype": "float32", "shape": [3, 2], "tolerance": 0.000001 }
}
},
{
"name": "onnx_backend_split_vector_axis0_two_outputs",
"attrs": { "axis": 0 },
"provenance": {
"source": "cmake/external/onnx/onnx/backend/test/data/node/test_split_to_sequence_2",
"notes": "The ONNX sequence output is returned as two `output_sequence` tensors; the int64 split is the 1-D vector [1, 2]."
},
"inputs": {
"input": {
"dtype": "float32",
"shape": [3, 6],
"data": {
"kind": "values",
"values": { "$ref": "#/fixtureArrays/onnx_backend_split_scalar_axis1_three_outputs_input_input" }
}
},
"split": { "dtype": "int64", "shape": [2], "data": { "kind": "values", "values": [1, 2] } }
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [1, 6], "tolerance": 0.000001 },
"output_sequence1": { "dtype": "float32", "shape": [2, 6], "tolerance": 0.000001 }
}
},
{
"name": "empty_zero_dim",
"attrs": { "axis": 0 },
"inputs": {
"input": { "dtype": "float32", "shape": [6, 0], "data": { "kind": "values", "values": [] } },
"split": { "dtype": "int64", "shape": [3], "data": { "kind": "values", "values": [2, 2, 2] } }
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [2, 0], "tolerance": 0 },
"output_sequence1": { "dtype": "float32", "shape": [2, 0], "tolerance": 0 },
"output_sequence2": { "dtype": "float32", "shape": [2, 0], "tolerance": 0 }
}
},
{
"name": "two_outputs_zero_dim",
"provenance": {
"notes": "Splitting shape [4,0] along axis 0 produces two fixed tensor outputs of shape [2,0]. Zero-width chunks must not cause division by zero during offset calculation."
},
"attrs": { "axis": 0 },
"inputs": {
"input": { "dtype": "float32", "shape": [4, 0], "data": { "kind": "values", "values": [] } },
"split": { "dtype": "int64", "shape": [2], "data": { "kind": "values", "values": [2, 2] } }
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [2, 0], "tolerance": 0 },
"output_sequence1": { "dtype": "float32", "shape": [2, 0], "tolerance": 0 }
}
},
{
"name": "two_outputs_zero_dim_squeeze",
"provenance": {
"notes": "With keepdims=0, each fixed output drops the split axis and uses the squeezed coordinate walk. A zero-width trailing axis exercises the chunk-stride floor."
},
"attrs": { "axis": 0, "keepdims": 0 },
"inputs": { "input": { "dtype": "float32", "shape": [2, 3, 0], "data": { "kind": "values", "values": [] } } },
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [3, 0], "tolerance": 0 },
"output_sequence1": { "dtype": "float32", "shape": [3, 0], "tolerance": 0 }
}
},
{
"name": "keepdims0_axis2_three_outputs_squeeze_f32",
"attrs": { "axis": 2, "keepdims": 0 },
"inputs": {
"input": {
"dtype": "float32",
"shape": [2, 3, 3],
"data": {
"kind": "values",
"values": { "$ref": "#/fixtureArrays/onnx_backend_split_scalar_axis1_three_outputs_input_input" }
}
}
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [2, 3], "tolerance": 0 },
"output_sequence1": { "dtype": "float32", "shape": [2, 3], "tolerance": 0 },
"output_sequence2": { "dtype": "float32", "shape": [2, 3], "tolerance": 0 }
}
},
{
"name": "negative_axis_neg1_scalar_split_rank3_f32",
"attrs": { "axis": -1 },
"inputs": {
"input": {
"dtype": "float32",
"shape": [2, 2, 6],
"data": {
"kind": "values",
"values": { "$ref": "#/fixtureArrays/ort_positive_axis_scalar_split_rank3_input_input" }
}
},
"split": { "dtype": "int64", "shape": [], "data": { "kind": "values", "values": [2] } }
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [2, 2, 2], "tolerance": 0 },
"output_sequence1": { "dtype": "float32", "shape": [2, 2, 2], "tolerance": 0 },
"output_sequence2": { "dtype": "float32", "shape": [2, 2, 2], "tolerance": 0 }
}
},
{
"name": "negative_axis_neg2_keepdims0_three_outputs_squeeze_f32",
"attrs": { "axis": -2, "keepdims": 0 },
"inputs": {
"input": {
"dtype": "float32",
"shape": [2, 3, 4],
"data": {
"kind": "values",
"values": { "$ref": "#/fixtureArrays/ort_positive_axis_scalar_split_rank3_input_input" }
}
}
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [2, 4], "tolerance": 0 },
"output_sequence1": { "dtype": "float32", "shape": [2, 4], "tolerance": 0 },
"output_sequence2": { "dtype": "float32", "shape": [2, 4], "tolerance": 0 }
}
},
{
"name": "rank6_middle_axis_two_outputs_deep_strides_f32",
"attrs": { "axis": 2 },
"inputs": {
"input": {
"dtype": "float32",
"shape": [2, 2, 4, 2, 2, 3],
"data": { "kind": "linspace", "start": 0.0, "end": 1.0 }
},
"split": { "dtype": "int64", "shape": [2], "data": { "kind": "values", "values": [3, 1] } }
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [2, 2, 3, 2, 2, 3], "tolerance": 0 },
"output_sequence1": { "dtype": "float32", "shape": [2, 2, 1, 2, 2, 3], "tolerance": 0 }
}
},
{
"name": "rank7_two_outputs",
"attrs": { "axis": 5, "keepdims": 1 },
"inputs": {
"input": {
"dtype": "float32",
"shape": [1, 1, 1, 1, 1, 2, 3],
"data": { "kind": "linspace", "start": 0.0, "end": 5.0 }
},
"split": { "dtype": "int64", "shape": [2], "data": { "kind": "values", "values": [1, 1] } }
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [1, 1, 1, 1, 1, 1, 3], "tolerance": 0 },
"output_sequence1": { "dtype": "float32", "shape": [1, 1, 1, 1, 1, 1, 3], "tolerance": 0 }
}
},
{
"name": "rank8_two_outputs",
"attrs": { "axis": 6, "keepdims": 1 },
"inputs": {
"input": {
"dtype": "float32",
"shape": [1, 1, 1, 1, 1, 1, 2, 3],
"data": { "kind": "linspace", "start": 1.0, "end": 6.0 }
},
"split": { "dtype": "int64", "shape": [2], "data": { "kind": "values", "values": [1, 1] } }
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [1, 1, 1, 1, 1, 1, 1, 3], "tolerance": 0 },
"output_sequence1": { "dtype": "float32", "shape": [1, 1, 1, 1, 1, 1, 1, 3], "tolerance": 0 }
}
},
{
"name": "scalar_split_covers_axis_one_output_f32",
"attrs": { "axis": 0 },
"inputs": {
"input": {
"dtype": "float32",
"shape": [5, 3],
"data": { "kind": "fillFloat32", "sinStep": 0.21, "cosStep": 0.13 }
},
"split": { "dtype": "int64", "shape": [], "data": { "kind": "values", "values": [7] } }
},
"outputs": { "output_sequence0": { "dtype": "float32", "shape": [5, 3], "tolerance": 0.000001 } }
},
{
"name": "no_split_five_outputs_f32",
"attrs": { "axis": 0 },
"inputs": {
"input": {
"dtype": "float32",
"shape": [5, 2],
"data": { "kind": "fillFloat32", "sinStep": 0.29, "cosStep": 0.11 }
}
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [1, 2], "tolerance": 0.000001 },
"output_sequence1": { "dtype": "float32", "shape": [1, 2], "tolerance": 0.000001 },
"output_sequence2": { "dtype": "float32", "shape": [1, 2], "tolerance": 0.000001 },
"output_sequence3": { "dtype": "float32", "shape": [1, 2], "tolerance": 0.000001 },
"output_sequence4": { "dtype": "float32", "shape": [1, 2], "tolerance": 0.000001 }
}
},
{
"name": "int32_split_two_chunks_f32",
"attrs": { "axis": 0 },
"inputs": {
"input": {
"dtype": "float32",
"shape": [5, 3],
"data": { "kind": "fillFloat32", "sinStep": 0.17, "cosStep": 0.23 }
},
"split": { "dtype": "int32", "shape": [2], "data": { "kind": "values", "values": [2, 3] } }
},
"outputs": {
"output_sequence0": { "dtype": "float32", "shape": [2, 3], "tolerance": 0.000001 },
"output_sequence1": { "dtype": "float32", "shape": [3, 3], "tolerance": 0.000001 }
}
},
{
"name": "scalar_split_two_chunks_uint32",
"attrs": { "axis": 1 },
"inputs": {
"input": { "dtype": "uint32", "shape": [2, 3], "data": { "kind": "values", "values": [1, 2, 3, 4, 5, 6] } },
"split": { "dtype": "int64", "shape": [], "data": { "kind": "values", "values": [2] } }
},
"outputs": {
"output_sequence0": {
"dtype": "uint32",
"shape": [2, 2],
"tolerance": 0,
"data": { "kind": "values", "values": [1, 2, 4, 5] }
},
"output_sequence1": {
"dtype": "uint32",
"shape": [2, 1],
"tolerance": 0,
"data": { "kind": "values", "values": [3, 6] }
}
}
},
{
"name": "scalar_split_two_chunks_int32",
"attrs": { "axis": 1 },
"inputs": {
"input": { "dtype": "int32", "shape": [2, 3], "data": { "kind": "values", "values": [1, 2, 3, 4, 5, 6] } },
"split": { "dtype": "int64", "shape": [], "data": { "kind": "values", "values": [2] } }
},
"outputs": {
"output_sequence0": {
"dtype": "int32",
"shape": [2, 2],
"tolerance": 0,
"data": { "kind": "values", "values": [1, 2, 4, 5] }
},
"output_sequence1": {
"dtype": "int32",
"shape": [2, 1],
"tolerance": 0,
"data": { "kind": "values", "values": [3, 6] }
}
}
},
{
"name": "scalar_split_two_chunks_int16",
"attrs": { "axis": 1 },
"inputs": {
"input": { "dtype": "int16", "shape": [2, 3], "data": { "kind": "values", "values": [1, 2, 3, 4, 5, 6] } },
"split": { "dtype": "int64", "shape": [], "data": { "kind": "values", "values": [2] } }
},
"outputs": {
"output_sequence0": {
"dtype": "int16",
"shape": [2, 2],
"tolerance": 0,
"data": { "kind": "values", "values": [1, 2, 4, 5] }
},
"output_sequence1": {
"dtype": "int16",
"shape": [2, 1],
"tolerance": 0,
"data": { "kind": "values", "values": [3, 6] }
}
}
},
{
"name": "scalar_split_two_chunks_uint8",
"attrs": { "axis": 1 },
"inputs": {
"input": { "dtype": "uint8", "shape": [2, 3], "data": { "kind": "values", "values": [1, 2, 3, 4, 5, 6] } },
"split": { "dtype": "int64", "shape": [], "data": { "kind": "values", "values": [2] } }
},
"outputs": {
"output_sequence0": {
"dtype": "uint8",
"shape": [2, 2],
"tolerance": 0,
"data": { "kind": "values", "values": [1, 2, 4, 5] }
},
"output_sequence1": {
"dtype": "uint8",
"shape": [2, 1],
"tolerance": 0,
"data": { "kind": "values", "values": [3, 6] }
}
}
},
{
"name": "scalar_split_two_chunks_int8",
"attrs": { "axis": 1 },
"inputs": {
"input": { "dtype": "int8", "shape": [2, 3], "data": { "kind": "values", "values": [1, 2, 3, 4, 5, 6] } },
"split": { "dtype": "int64", "shape": [], "data": { "kind": "values", "values": [2] } }
},
"outputs": {
"output_sequence0": {
"dtype": "int8",
"shape": [2, 2],
"tolerance": 0,
"data": { "kind": "values", "values": [1, 2, 4, 5] }
},
"output_sequence1": {
"dtype": "int8",
"shape": [2, 1],
"tolerance": 0,
"data": { "kind": "values", "values": [3, 6] }
}
}
},
{
"name": "scalar_split_two_chunks_int64",
"attrs": { "axis": 1 },
"inputs": {
"input": {
"dtype": "int64",
"shape": [2, 3],
"data": {
"kind": "values",
"values": ["0", "4294967296", "-1", "9223372036854775807", "-9223372036854775808", "8589934593"]
}
},
"split": { "dtype": "int64", "shape": [], "data": { "kind": "values", "values": [2] } }
},
"outputs": {
"output_sequence0": {
"dtype": "int64",
"shape": [2, 2],
"tolerance": 0,
"relTolerance": 0,
"data": { "kind": "values", "values": ["0", "4294967296", "9223372036854775807", "-9223372036854775808"] }
},
"output_sequence1": {
"dtype": "int64",
"shape": [2, 1],
"tolerance": 0,
"relTolerance": 0,
"data": { "kind": "values", "values": ["-1", "8589934593"] }
}
}
}
]
}