def METHOD_NAME(self, fl_ctx: FLContext):
    try:
        # Get network config
        network = self.train_parser.get_parsed_content(
            self.network_def_key, default=ConfigItem(None, self.network_def_key)
        )
        if network is None:
            raise ValueError(
                f"Couldn't parse the network definition from {self.config_train_filename}. "
                f"BUNDLE_ROOT was {self.bundle_root}."
            )
        return network
    except Exception as e:
        self.log_exception(fl_ctx, f"initialize exception: {e}")