class_docstr: Base configuration object YAML (de-)serialization.
  Actual Configuration should subclass this object.
class_docstr_tok: ["Base","configuration","object","YAML","(","de-",")","serialization",".","Actual","Configuration","should","subclass","this","object","."]
docstr: Create a copy of the config object, optionally modifying some of the attributes.
  For example `nn_config.copy(num_hidden=512)` will create a copy of `nn_config` where the attribute `num_hidden`
  will be set to the new value of num_hidden.
  
  :param kwargs:
  :return: A deep copy of the config object.
docstr_tok: ["Create","a","copy","of","the","config","object",",","optionally","modifying","some","of","the","attributes",".","For","example","`","nn_config.copy","(","num_hidden=512",")","`","will","create","a","copy","of","`","nn_config","`","where","the","attribute","`","num_hidden","`","will","be","set","to","the","new","value","of","num_hidden",".",":","param","kwargs",":",":","return",":","A","deep","copy","of","the","config","object","."]
code: def copy(self, **kwargs):
      """
      Create a copy of the config object, optionally modifying some of the attributes.
      For example `nn_config.copy(num_hidden=512)` will create a copy of `nn_config` where the attribute `num_hidden`
      will be set to the new value of num_hidden.
  
      :param kwargs:
      :return: A deep copy of the config object.
      """
      copy_obj = copy.deepcopy(self)
      for name, value in kwargs.items():
          object.__setattr__(copy_obj, name, value)
      return copy_obj
  
file_path: sockeye/sockeye/config.py
imports: import copy
  import logging
  from dataclasses import dataclass
  import yaml
label_desc: Use image node_id 3 for calling the Config obj's underlying member method code with example usage: obj.copy() and returns: copy_obj