op_compat_info.cc.j2 368 字节
Newer Older
1 2 3 4 5 6 7
#include "paddle/fluid/translator/op_compat_info.h"

namespace paddle {
namespace translator {
    
OpNameNormalizer::OpNameNormalizer() {
    op_name_mappings = {
8
        {% for legacy_name, normalized_name in op_name_paris.items() %}
9 10 11 12 13 14 15
        { "{{legacy_name}}", "{{normalized_name}}" },
        {% endfor %}
    };
}

} // namespace translator
}// namespace paddle