class_docstr: Factory object for creating layers, this uses given factory functions to actually produce the types or constructing
  callables. These functions are referred to by name and can be added at any time.
class_docstr_tok: ["Factory","object","for","creating","layers",",","this","uses","given","factory","functions","to","actually","produce","the","types","or","constructing","callables",".","These","functions","are","referred","to","by","name","and","can","be","added","at","any","time","."]
docstr: Decorator for adding a factory function with the given name.
docstr_tok: ["Decorator","for","adding","a","factory","function","with","the","given","name","."]
code: def factory_function(self, name: str) -> Callable:
      """
      Decorator for adding a factory function with the given name.
      """
  
      def _add(func: Callable) -> Callable:
          self.add_factory_callable(name, func)
          return func
  
      return _add
  
imports: from __future__ import annotations
  import warnings
  from collections.abc import Callable
  from typing import Any
  import torch.nn
  from monai.networks.utils import has_nvfuser_instance_norm
  from monai.utils import ComponentStore, look_up_option, optional_import
label_desc: Use image node_id 4 for calling the LayerFactory obj's underlying member method code with example usage: obj.factory_function(name) and returns: _add, func