code: def _create_from_dict(dict_, default_module, *args, **kwargs):
      """Creates a configurable class from a dictionary. The dictionary must have
      "class" and "params" properties. The class can be either fully qualified, or
      it is looked up in the modules passed via `default_module`.
      """
      class_ = locate(dict_["class"]) or getattr(
          default_module, dict_["class"]
      )
      params = {}
      if "params" in dict_:
          params = dict_["params"]
      instance = class_(params, *args, **kwargs)
      return instance
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import abc
  import copy
  from pydoc import locate
  import six
  import yaml
  import tensorflow
label_desc: Use image node_id 1 for calling a global function with example usage: _create_from_dict(dict_, default_module) and returns: instance