code: def export() -> None:
      node = onnx.helper.make_node(
          "HardSigmoid",
          inputs=["x"],
          outputs=["y"],
          alpha=0.5,
          beta=0.6,
      )
  
      x = np.array([-1, 0, 1]).astype(np.float32)
      y = np.clip(x * 0.5 + 0.6, 0, 1)  # expected output [0.1, 0.6, 1.]
      expect(
          node, inputs=[x], outputs=[y], name="test_hardsigmoid_example"
      )
  
      x = np.random.randn(3, 4, 5).astype(np.float32)
      y = np.clip(x * 0.5 + 0.6, 0, 1)
      expect(node, inputs=[x], outputs=[y], name="test_hardsigmoid")
  
file_path: onnx/onnx/backend/test/case/node/hardsigmoid.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 HardSigmoid obj's underlying member method code with example usage: obj.export() without return types