def _load_params(self, **kwargs: Dict[Text, Any]) -> None: self.config = copy.deepcopy(self.defaults) self.config.update(kwargs) self.config = train_utils.check_deprecated_options(self.config) self.config = train_utils.update_similarity_type(self.config) self.config = train_utils.update_evaluation_parameters(self.config)
def _check_config_parameters(self) -> None: self.component_config = train_utils.check_deprecated_options( self.component_config) self.component_config = train_utils.update_similarity_type( self.component_config) self.component_config = train_utils.update_evaluation_parameters( self.component_config)