提交 889b902d 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!946 Adapt ResizeNearestNeighbor and ApplyAdam

Merge pull request !946 from zhaozhenlong/vm-adapt-resize-nearest
......@@ -72,10 +72,10 @@ static std::map<string, string> tbe_func_adapter_map = {
{"lamb_next_mv_with_decay_v1", "lamb_next_m_v_with_decay_v1"},
{"lamb_next_mv", "lamb_next_m_v"},
{"split", "split_d"},
{"resize_nearest_neighbor", "resize_nearest_neighbor_d"},
{"resize_nearest_neighbor_grad", "resize_nearest_neighbor_grad_d"},
{"resize_nearest_neighbor", "resize_nearest_neighbor_v2_d"},
{"resize_nearest_neighbor_grad", "resize_nearest_neighbor_v2_grad_d"},
{"pad", "pad_d"},
{"adam", "apply_adam"}};
{"adam", "apply_adam_d"}};
void TbeAdapter::NormalizeFuncName(std::string *func_name) {
if (func_name == nullptr) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册