code: def export() -> None:
      node = onnx.helper.make_node(
          "Xor",
          inputs=["x", "y"],
          outputs=["xor"],
      )
  
      # 2d
      x = (np.random.randn(3, 4) > 0).astype(bool)
      y = (np.random.randn(3, 4) > 0).astype(bool)
      z = np.logical_xor(x, y)
      expect(node, inputs=[x, y], outputs=[z], name="test_xor2d")
  
      # 3d
      x = (np.random.randn(3, 4, 5) > 0).astype(bool)
      y = (np.random.randn(3, 4, 5) > 0).astype(bool)
      z = np.logical_xor(x, y)
      expect(node, inputs=[x, y], outputs=[z], name="test_xor3d")
  
      # 4d
      x = (np.random.randn(3, 4, 5, 6) > 0).astype(bool)
      y = (np.random.randn(3, 4, 5, 6) > 0).astype(bool)
      z = np.logical_xor(x, y)
      expect(node, inputs=[x, y], outputs=[z], name="test_xor4d")
  
file_path: onnx/onnx/backend/test/case/node/xor.py
imports: import numpy
  import onnx
  from onnx.backend.test.case.base import Base
  from onnx.backend.test.case.node import expect
label_desc: Use image node_id 1 for calling the Xor obj's underlying member method code with example usage: obj.export() without return types