code: def export_sorted_with_axis_3d() -> None:
      node_sorted = onnx.helper.make_node(
          "Unique",
          inputs=["X"],
          outputs=["Y", "indices", "inverse_indices", "counts"],
          sorted=1,
          axis=1,
      )
  
      x = np.array(
          [
              [[1.0, 1.0], [0.0, 1.0], [2.0, 1.0], [0.0, 1.0]],
              [[1.0, 1.0], [0.0, 1.0], [2.0, 1.0], [0.0, 1.0]],
          ],
          dtype=np.float32,
      )
      y, indices, inverse_indices, counts = np.unique(
          x, True, True, True, axis=1
      )
      indices, inverse_indices, counts = specify_int64(
          indices, inverse_indices, counts
      )
      # print(y)
      # [[[0. 1.]
      #  [1. 1.]
      #  [2. 1.]]
      # [[0. 1.]
      #  [1. 1.]
      #  [2. 1.]]]
      # print(indices)
      # [1 0 2]
      # print(inverse_indices)
      # [1 0 2 0]
      # print(counts)
      # [2 1 1]
      expect(
          node_sorted,
          inputs=[x],
          outputs=[y, indices, inverse_indices, counts],
          name="test_unique_sorted_with_axis_3d",
      )
  
file_path: onnx/onnx/backend/test/case/node/unique.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 Unique obj's underlying member method code with example usage: obj.export_sorted_with_axis_3d() without return types