{% from "operator_utils.c.j2" import sparse_op_name_map, register_name_map, register_base_kernel_name %}
// this file is generated by paddle/phi/api/yaml/generator/generate_op.py, do not edit.
#include "paddle/phi/core/compat/op_utils.h"
#include "paddle/utils/small_vector.h"

namespace phi {

{% for op in ops %}
  {% if op is base_op %}
{{sparse_op_name_map(op)}}
  {% endif %}
{% endfor %}
{% for op in backward_ops %}
  {% if op is base_op %}
{{sparse_op_name_map(op)}}
  {% endif %}
{% endfor %}
}  // namespace phi

{% for op in ops + backward_ops %}
  {% if op is base_op %}
{{register_name_map(op)}}
  {% endif %}
{% endfor %}
