code: def test_output_operand_alias():
      attr = mhlo.OutputOperandAlias.get(
          output_tuple_indices=[0],
          operand_index=0,
          operand_tuple_indices=[1],
      )
      assert attr is not None
      assert str(attr) == (
          "#mhlo.output_operand_alias<output_tuple_indices = [0], "
          "operand_index = 0, "
          "operand_tuple_indices = [1]>"
      )
      assert attr.output_tuple_indices == [0]
      assert attr.operand_index == 0
      assert attr.operand_tuple_indices == [1]
  
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 11 for calling a global function with example usage: test_output_operand_alias() without return types