code: def test_do_not_convert_softmax(target_precision):
      """Softmax is a red listed operation and therefore should never be fp16."""
      shape = [1, 2, 3]
      a = relay.var("a", shape=shape)
      b = relay.nn.softmax(a)
      mod = tvm.IRModule.from_expr(b)
      mod = tvm.relay.transform.InferType()(mod)
      out_mod = ToMixedPrecision(target_precision)(mod)
      orig_mod = tvm.relay.transform.InferType()(mod)
      assert tvm.ir.structural_equal(orig_mod, out_mod)
  
imports: from typing import Any, Dict, List
  import numpy
  import pytest
  import tvm
  from tvm import relay
  from tvm.relay.testing import lstm
  from tvm.relay.transform import InferType, ToMixedPrecision, mixed_precision
label_desc: Use image node_id 8 for calling a global function with example usage: test_do_not_convert_softmax(target_precision) without return types