Skip to content
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

添加微内核 ADD_SCALE 等 #49

Open
wanghailu0717 opened this issue Oct 23, 2023 · 0 comments
Open

添加微内核 ADD_SCALE 等 #49

wanghailu0717 opened this issue Oct 23, 2023 · 0 comments

Comments

@wanghailu0717
Copy link
Contributor

1.add_scale:一个张量与一个标量相加。
2.请添加类似的微内核到系统中。注意如下事项。
2.1 张量 + 标量,标量 + 张量。 需要添加两个微内核,张量是左操作数,张量是右操作数。
2.2 注意有些情况下你可以利用交换律来完成 2.1,例如加法,乘法;有些情况下则不然,例如减法/除法。
3.请找到你尽可能能找到的这些双目操作并添加微内核到系统中。
4.你无需添加算子。
5.可能的参考资料
5.1 https://www.cambricon.com/docs/sdk_1.14.0/cntoolkit_3.6.1/cambricon_bang_c_4.6.1/2Builtin-Functions/Vector%20Operation%20Functions.html#bang-add-scalar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant