class_docstr: Consists of tests testing functionality of creating lookup tables for integer operations.
class_docstr_tok: ["Consists","of","tests","testing","functionality","of","creating","lookup","tables","for","integer","operations","."]
code: def test_exp(self):
      # input in floating point ~[-2, 2], final output ~[0, 8]
      self.run_function_test(
          input_arg=relay.const(np.arange(-128, 128).astype("int8")),
          in_scale=0.015,
          in_zero_point=0,
          out_scale=16 / 256,
          out_zero_point=0,
          in_dtype="int8",
          out_dtype="int8",
          floating_point_func=np.exp,
          atol=0.03,
          rtol=0.01,
      )
  
file_path: tvm/tests/python/relay/qnn/test_canonicalizations.py
imports: from typing import Callable
  import numpy
  from tvm import relay
  from tvm.relay.qnn.op import canonicalizations
label_desc: Use image node_id 12 for calling the TestIntegerTableLookupTable obj's underlying member method code with example usage: obj.test_exp() without return types