def METHOD_NAME(self, template_cls):
    """Register a template "optimizer".
    E.g., function call template or op configuration template.
    Args:
        template_cls (class): Template to register.
    """
    template = template_cls()
    register_pass(template.get_name(), template, backend=self.name)