-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NNAdapter][CambriconMLU] Add CambriconMLU driver HAL #6947
[NNAdapter][CambriconMLU] Add CambriconMLU driver HAL #6947
Conversation
Thanks for your contribution! |
lite/backends/nnadapter/nnadapter/driver/cambricon_mlu/utility.h
Outdated
Show resolved
Hide resolved
lite/backends/nnadapter/nnadapter/driver/cambricon_mlu/utility.h
Outdated
Show resolved
Hide resolved
lite/backends/nnadapter/nnadapter/driver/cambricon_mlu/converter/all.h
Outdated
Show resolved
Hide resolved
lite/backends/nnadapter/nnadapter/driver/cambricon_mlu/converter.h
Outdated
Show resolved
Hide resolved
lite/backends/nnadapter/nnadapter/driver/cambricon_mlu/converter.cc
Outdated
Show resolved
Hide resolved
lite/backends/nnadapter/nnadapter/driver/cambricon_mlu/CMakeLists.txt
Outdated
Show resolved
Hide resolved
lite/backends/nnadapter/nnadapter/driver/cambricon_mlu/converter/softmax.cc
Outdated
Show resolved
Hide resolved
lite/backends/nnadapter/nnadapter/driver/cambricon_mlu/utility.cc
Outdated
Show resolved
Hide resolved
lite/backends/nnadapter/nnadapter/driver/cambricon_mlu/engine.h
Outdated
Show resolved
Hide resolved
lite/backends/nnadapter/nnadapter/driver/cambricon_mlu/utility.h
Outdated
Show resolved
Hide resolved
04c34c4
to
01abe8a
Compare
lite/backends/nnadapter/nnadapter/driver/cambricon_mlu/engine.cc
Outdated
Show resolved
Hide resolved
88d097a
to
709f3a2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
7c4e32b
to
40511ed
Compare
a53487a
to
010e40c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
格式需要修改下吧,格式检查的CI没过
lite/backends/nnadapter/nnadapter/driver/cambricon_mlu/converter/conv2d.cc
Outdated
Show resolved
Hide resolved
switch (fuse_code) { | ||
case NNADAPTER_FUSED_RELU: | ||
{ | ||
auto activation_node = converter->network()->AddIActivationNode(output_tensor, magicmind::IActivation::RELU); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同上,或者考虑抽取出来作为一个公共的函数
lite/backends/nnadapter/nnadapter/driver/cambricon_mlu/converter/fully_connected.cc
Outdated
Show resolved
Hide resolved
a8a1da5
to
22e863d
Compare
ff0e03a
to
fb2759a
Compare
lite/backends/nnadapter/nnadapter/driver/cambricon_mlu/optimizer/nchw2nhwc.cc
Outdated
Show resolved
Hide resolved
lite/backends/nnadapter/nnadapter/driver/cambricon_mlu/optimizer/nchw2nhwc.cc
Outdated
Show resolved
Hide resolved
lite/backends/nnadapter/nnadapter/driver/cambricon_mlu/optimizer/nchw2nhwc.h
Outdated
Show resolved
Hide resolved
fb2759a
to
72537ad
Compare
72537ad
to
bd9b67d
Compare
[NNAdapter][MLU370] Fix some problems of CI, merge develop
…m/Danielmic/Paddle-Lite into mlu370 test=huawei_ascend_npu
[NNADAPTER][MLU] Add op unit test, fix conflict.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.