code: def export_compress_1() -> None:
      node = onnx.helper.make_node(
          "Compress",
          inputs=["input", "condition"],
          outputs=["output"],
          axis=1,
      )
      input = np.array([[1, 2], [3, 4], [5, 6]]).astype(np.float32)
      condition = np.array([0, 1])
      output = np.compress(condition, input, axis=1)
      # print(output)
      # [[ 2.]
      # [ 4.]
      # [ 6.]]
  
      expect(
          node,
          inputs=[input, condition.astype(bool)],
          outputs=[output],
          name="test_compress_1",
      )
  
file_path: onnx/onnx/backend/test/case/node/compress.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 2 for calling the Compress obj's underlying member method code with example usage: obj.export_compress_1() without return types