class_docstr: A module is a container to associate variables and functions.
class_docstr_tok: ["A","module","is","a","container","to","associate","variables","and","functions","."]
docstr: Collect all the variables (and their names) contained in the module and its submodules.
  Important: Variables and modules stored Python structures such as dict or list are not collected. See ModuleList
  if you need such a feature.
  
  Args:
      scope: string to prefix to the variable names.
  Returns:
      A VarCollection of all the variables.
docstr_tok: ["Collect","all","the","variables","(","and","their","names",")","contained","in","the","module","and","its","submodules",".","Important",":","Variables","and","modules","stored","Python","structures","such","as","dict","or","list","are","not","collected",".","See","ModuleList","if","you","need","such","a","feature",".","Args",":","scope",":","string","to","prefix","to","the","variable","names",".","Returns",":","A","VarCollection","of","all","the","variables","."]
code: def vars(self, scope: str = "") -> VarCollection:
      """Collect all the variables (and their names) contained in the module and its submodules.
      Important: Variables and modules stored Python structures such as dict or list are not collected. See ModuleList
      if you need such a feature.
  
      Args:
          scope: string to prefix to the variable names.
      Returns:
          A VarCollection of all the variables.
      """
      vc = VarCollection()
      scope += f"({self.__class__.__name__})."
      for k, v in self.__dict__.items():
          if isinstance(v, BaseVar):
              vc[scope + k] = v
          elif isinstance(v, Module):
              if k == "__wrapped__":
                  vc.update(v.vars(scope=scope[:-1]))
              else:
                  vc.update(v.vars(scope=scope + k))
      return vc
  
imports: from collections import namedtuple
  from typing import Optional, List, Union, Callable, Tuple
  import jax
  import jax.numpy
  import numpy
  from objax.typing import JaxArray
  from objax.util import class_name, override_args_kwargs, positional_args_names, repr_function
  from objax.variable import BaseVar, RandomState, VarCollection
label_desc: Use image node_id 1 for calling the Module obj's underlying member method code with example usage: obj.vars(scope) and returns: vc