code: def from_hyper_parameter(
      self, hyper_parameter: _typing.Mapping[str, _typing.Any], **kwargs
  ):
      new_kwargs = dict(self.__kwargs)
      new_kwargs.update(kwargs)
      duplicate: AutoHomogeneousEncoderMaintainer = self.__class__(
          self.input_dimension,
          self.final_dimension,
          self.device,
          **new_kwargs,
      )
      hp = dict(self.hyper_parameters)
      hp.update(hyper_parameter)
      duplicate.hyper_parameters = hp
      duplicate.initialize()
      return duplicate
  
file_path: AutoGL/autogl/module/model/encoders/base_encoder.py
imports: import torch
  import typing
  from ...hpo import AutoModule
label_desc: Use image node_id 7 for calling the AutoHomogeneousEncoderMaintainer obj's underlying member method code with example usage: obj.from_hyper_parameter(hyper_parameter) and returns: duplicate