{ "op": "ai.onnx.Not", "cases": [ { "name": "bool_vector_basic", "inputs": { "x": { "dtype": "bool", "shape": [6], "data": { "kind": "values", "values": [0, 1, 1, 0, 1, 0] } } }, "outputs": { "y": { "dtype": "bool", "shape": [6] } } }, { "name": "rank0_scalar_true", "inputs": { "x": { "dtype": "bool", "shape": [], "data": { "kind": "values", "values": [1] } } }, "outputs": { "y": { "dtype": "bool", "shape": [], "tolerance": 0 } } }, { "name": "rank0_scalar_false", "inputs": { "x": { "dtype": "bool", "shape": [], "data": { "kind": "values", "values": [0] } } }, "outputs": { "y": { "dtype": "bool", "shape": [], "tolerance": 0 } } }, { "name": "zero_sized", "inputs": { "x": { "dtype": "bool", "shape": [2, 0, 3], "data": { "kind": "values", "values": [] } } }, "outputs": { "y": { "dtype": "bool", "shape": [2, 0, 3], "tolerance": 0 } } }, { "name": "rank4_bool_like", "inputs": { "x": { "dtype": "bool", "shape": [1, 2, 1, 3], "data": { "kind": "values", "values": [0, 1, 1, 1, 0, 0] } } }, "outputs": { "y": { "dtype": "bool", "shape": [1, 2, 1, 3], "tolerance": 0 } } }, { "name": "ort_bool_vector", "provenance": { "source": "onnxruntime/test/providers/cpu/math/element_wise_ops_test.cc", "test": "MathOpTest.Not" }, "inputs": { "x": { "dtype": "bool", "shape": [2], "data": { "kind": "values", "values": [0, 1] } } }, "outputs": { "y": { "dtype": "bool", "shape": [2], "tolerance": 0 } } }, { "name": "onnx_backend_2d_bool", "provenance": { "source": "cmake/external/onnx/onnx/backend/test/data/node/test_not_2d" }, "inputs": { "x": { "dtype": "bool", "shape": [3, 4], "data": { "kind": "values", "values": [1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1] } } }, "outputs": { "y": { "dtype": "bool", "shape": [3, 4], "tolerance": 0 } } }, { "name": "onnx_backend_not_3d", "provenance": { "source": "cmake/external/onnx/onnx/backend/test/data/node/test_not_3d" }, "inputs": { "x": { "dtype": "bool", "shape": [3, 4, 5], "data": { "kind": "values", "values": [1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1] } } }, "outputs": { "y": { "dtype": "bool", "shape": [3, 4, 5], "tolerance": 0 } } }, { "name": "onnx_backend_not_4d", "provenance": { "source": "cmake/external/onnx/onnx/backend/test/data/node/test_not_4d", "test": "test_not_4d" }, "inputs": { "x": { "dtype": "bool", "shape": [3, 4, 5, 6], "data": { "kind": "values", "values": [1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1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