code: def test_dot_dimension_numbers():
      attr = mhlo.DotDimensionNumbers.get(
          lhs_batching_dimensions=[0, 1],
          rhs_batching_dimensions=[2, 3],
          lhs_contracting_dimensions=[4, 5],
          rhs_contracting_dimensions=[6, 7],
      )
      assert attr is not None
      assert str(attr) == (
          "#mhlo.dot<lhs_batching_dimensions = [0, 1], "
          "rhs_batching_dimensions = [2, 3], "
          "lhs_contracting_dimensions = [4, 5], "
          "rhs_contracting_dimensions = [6, 7]>"
      )
      assert attr.lhs_batching_dimensions == [0, 1]
      assert attr.rhs_batching_dimensions == [2, 3]
      assert attr.lhs_contracting_dimensions == [4, 5]
      assert attr.rhs_contracting_dimensions == [6, 7]
  
file_path: tensorflow/third_party/xla/xla/mlir_hlo/tests/python/attributes.py
imports: from mlir import ir
  from mlir.dialects import mhlo
label_desc: Use image node_id 7 for calling a global function with example usage: test_dot_dimension_numbers() without return types