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 __init__(self):
      super().__init__()
      self.num_constants_ = 0
  
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 1 to create a new CheckFunctionsForConstants object from inherited base classes: tvm.relay with example: obj = CheckFunctionsForConstants()