code: def export_top_k_smallest() -> None:
      axis = 1
      largest = 0
      sorted = 1  # noqa: A001
      k = 3
  
      node = onnx.helper.make_node(
          "TopK",
          inputs=["x", "k"],
          outputs=["values", "indices"],
          axis=axis,
          largest=largest,
          sorted=sorted,
      )
  
      X = np.array(
          [
              [0, 1, 2, 3],
              [4, 5, 6, 7],
              [11, 10, 9, 8],
          ],
          dtype=np.float32,
      )
      K = np.array([k], dtype=np.int64)
      values_ref, indices_ref = topk_sorted_implementation(
          X, k, axis, largest
      )
  
      # print(values_ref)
      # [[ 0.  1.  2.]
      # [ 4.  5.  6.]
      # [ 8.  9. 10.]]
      # print(indices_ref)
      # [[0 1 2]
      # [0 1 2]
      # [3 2 1]]
  
      expect(
          node,
          inputs=[X, K],
          outputs=[values_ref, indices_ref],
          name="test_top_k_smallest",
      )
  
file_path: onnx/onnx/backend/test/case/node/topk.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 TopK obj's underlying member method code with example usage: obj.export_top_k_smallest() without return types