code: def export_clip_default_int8() -> None:
      node = onnx.helper.make_node(
          "Clip",
          inputs=["x", "min"],
          outputs=["y"],
      )
      min_val = np.int8(0)
      x = np.random.randn(3, 4, 5).astype(np.int8)
      y = np.clip(x, min_val, np.iinfo(np.int8).max)
      expect(
          node,
          inputs=[x, min_val],
          outputs=[y],
          name="test_clip_default_int8_min",
      )
  
      no_min = ""  # optional input, not supplied
      node = onnx.helper.make_node(
          "Clip",
          inputs=["x", no_min, "max"],
          outputs=["y"],
      )
      max_val = np.int8(0)
      x = np.random.randn(3, 4, 5).astype(np.int8)
      y = np.clip(x, np.iinfo(np.int8).min, max_val)
      expect(
          node,
          inputs=[x, max_val],
          outputs=[y],
          name="test_clip_default_int8_max",
      )
  
      no_max = ""  # optional input, not supplied
      node = onnx.helper.make_node(
          "Clip",
          inputs=["x", no_min, no_max],
          outputs=["y"],
      )
  
      x = np.array([-1, 0, 1]).astype(np.int8)
      y = np.array([-1, 0, 1]).astype(np.int8)
      expect(
          node,
          inputs=[x],
          outputs=[y],
          name="test_clip_default_int8_inbounds",
      )
  
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 3 for calling the Clip obj's underlying member method code with example usage: obj.export_clip_default_int8() without return types