class_docstr: Provides method to test number of scalar constants present in a function
class_docstr_tok: ["Provides","method","to","test","number","of","scalar","constants","present","in","a","function"]
code: def visit_call(self, call):
      super().visit_call(call)
      for arg in call.args:
          if (
              isinstance(arg, relay.Constant)
              and arg.data.numpy().ndim > 0
          ):
              self.num_constants_ += 1
  
file_path: tvm/tests/python/contrib/test_cmsisnn/test_scalar_to_tensor_constant.py
imports: import numpy
  import tvm
  import tvm.testing
  from tvm import relay
label_desc: Use image node_id 2 for calling the CheckFunctionsForConstants obj's underlying member method code with example usage: obj.visit_call(call) without return types