code: def verify_unary_inverse(input_dim, epsilon=0):
      """Verify unary inverse"""
      dtype = "float32"
  
      a_np = np.random.uniform(size=input_dim).astype(dtype)
      ref_val = 1 / (a_np + epsilon)
  
      inputs = [("input", datatypes.Array(*input_dim))]
      output = [("output", datatypes.Array(*ref_val.shape))]
      builder = NeuralNetworkBuilder(inputs, output)
      builder.add_unary(
          name="inverse",
          input_name="input",
          output_name="output",
          mode="inverse",
          epsilon=epsilon,
      )
  
      model = cm.models.MLModel(builder.spec)
      for target, dev in tvm.testing.enabled_targets():
          out = run_tvm_graph(
              model,
              target,
              dev,
              [a_np],
              ["input"],
              ref_val.shape,
              dtype,
          )
          tvm.testing.assert_allclose(out, ref_val, rtol=1e-5)
  
imports: from os import path
  from enum import Enum
  import tempfile
  import numpy
  import model_zoo
  import coremltools
  from coremltools.models.neural_network import NeuralNetworkBuilder
  from coremltools.models import datatypes
  from tensorflow import keras
  import tvm
  import tvm.topi.testing
  import tvm.testing
  from tvm.contrib import graph_executor
  from tvm.topi.testing import conv2d_nchw_python
  from tvm import relay
label_desc: Use image node_id 26 for calling a global function with example usage: verify_unary_inverse(input_dim, epsilon) without return types