code: def export_infinity_float16() -> None:
      node = onnx.helper.make_node(
          "IsInf",
          inputs=["x"],
          outputs=["y"],
      )
  
      x = np.array(
          [-1.2, np.nan, np.inf, 2.8, np.NINF, np.inf], dtype=np.float16
      )
      y = np.isinf(x)
      expect(node, inputs=[x], outputs=[y], name="test_isinf_float16")
  
file_path: onnx/onnx/backend/test/case/node/isinf.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 4 for calling the IsInf obj's underlying member method code with example usage: obj.export_infinity_float16() without return types