code: def test_tir_invalid_floatimm(dtype, literals):
      """Currently only fp16 and fp32 have range check."""
      for l in literals:
          with pytest.raises(tvm.TVMError):
              tir.const(l, dtype)
  
imports: import math
  import random
  import numpy
  import tvm
  import tvm.testing
  import pytest
  from tvm import tir
  from tvm.script import tir
  import pytest
label_desc: Use image node_id 7 for calling a global function with example usage: test_tir_invalid_floatimm(dtype, literals) without return types