if self.model.config.get_strategy(self).lower() == "resource":
self._function_template = get_function_template("Large" + self.__class__.__name__)
if self.model.config.get_reuse_factor(self) == 1:
print("WARNING: Using ReuseFactor 1 with "Resource" strategy. This may not work.")
if self._function_template is None:
self._function_template = get_function_template(self.__class__.__name__)
self._config_template = get_config_template(self.__class__.__name__)