code: def _on_layer_added(self) -> None:
      params = self.root().parameters
      for name, obj in self._parameters.items():
          if name not in params:
              params[name] = core.as_parameter(obj)
      self._parameters = {}
  
imports: import typing
  import numpy
  from .None import core
  from .None import transforms
  from .data import Data, Scalar
  from .choice import Choice
  from .None import _layering
label_desc: Use image node_id 3 for calling the DataMutation obj's underlying member method code with example usage: obj._on_layer_added() without return types