code: def export() -> None:
      node = onnx.helper.make_node(
          "Clip",
          inputs=["x", "min", "max"],
          outputs=["y"],
      )
  
      x = np.array([-2, 0, 2]).astype(np.float32)
      min_val = np.float32(-1)
      max_val = np.float32(1)
      y = np.clip(x, min_val, max_val)  # expected output [-1., 0., 1.]
      expect(
          node,
          inputs=[x, min_val, max_val],
          outputs=[y],
          name="test_clip_example",
      )
  
      x = np.random.randn(3, 4, 5).astype(np.float32)
      y = np.clip(x, min_val, max_val)
      expect(
          node,
          inputs=[x, min_val, max_val],
          outputs=[y],
          name="test_clip",
      )
      node = onnx.helper.make_node(
          "Clip",
          inputs=["x", "min", "max"],
          outputs=["y"],
      )
  
      min_val = np.float32(-5)
      max_val = np.float32(5)
  
      x = np.array([-1, 0, 1]).astype(np.float32)
      y = np.array([-1, 0, 1]).astype(np.float32)
      expect(
          node,
          inputs=[x, min_val, max_val],
          outputs=[y],
          name="test_clip_inbounds",
      )
  
      x = np.array([-6, 0, 6]).astype(np.float32)
      y = np.array([-5, 0, 5]).astype(np.float32)
      expect(
          node,
          inputs=[x, min_val, max_val],
          outputs=[y],
          name="test_clip_outbounds",
      )
  
      x = np.array([-1, 0, 6]).astype(np.float32)
      y = np.array([-1, 0, 5]).astype(np.float32)
      expect(
          node,
          inputs=[x, min_val, max_val],
          outputs=[y],
          name="test_clip_splitbounds",
      )
  
file_path: onnx/onnx/backend/test/case/node/clip.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 Clip obj's underlying member method code with example usage: obj.export() without return types