code: def test_bias_add_type_failure():
      def assert_failure(expr):
          try:
              run_infer_type(expr)
          except tvm._ffi.base.TVMError:
              return
          else:
              assert False
  
      for axis in (0, -1, -3, 1):
          assert_failure(
              relay.nn.bias_add(
                  relay.const(1), relay.const(2), axis=axis
              )
          )
  
imports: import numpy
  import pytest
  import tvm
  from tvm import te
  import scipy
  from tvm import relay
  import pytest
  from tvm.relay.testing import run_infer_type
  import tvm.topi.testing
  from tvm.contrib.nvcc import have_fp16
  import tvm.testing
  from tvm.topi.utils import get_const_tuple
label_desc: Use image node_id 7 for calling a global function with example usage: test_bias_add_type_failure() without return types