Builder

ezflow.modules.build.build_module(cfg_grp=None, name=None, instantiate=True, **kwargs)[source]

Build a module from a registered module name

Parameters
  • cfg_grp (CfgNode) – Config to pass to the module

  • name (str) – Name of the registered module

  • instantiate (bool) – Whether to instantiate the module or not

  • kwargs (dict) – Keyword arguments to pass to the module

Returns

The module object

Return type

object