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

support bias in conv2d's parameter list #5322

Merged
merged 34 commits into from
Jul 2, 2021
Merged

support bias in conv2d's parameter list #5322

merged 34 commits into from
Jul 2, 2021

Conversation

mosout
Copy link
Contributor

@mosout mosout commented Jun 28, 2021

使卷积算子支持bias作为参数

@mosout mosout marked this pull request as draft June 28, 2021 02:50
@BBuf
Copy link
Contributor

BBuf commented Jun 28, 2021

debug发现导致带bias的卷积segment fault的原因是bias初始化的内存位置不对,尝试将值写到一块不能写的内存(已经被im2col写过了)所以segmentfault

@mosout mosout marked this pull request as ready for review June 29, 2021 06:41
@mosout mosout changed the title add conv-with-bias test support bias in conv2d's parameter list Jun 29, 2021
@mosout mosout requested review from MARD1NO and BBuf June 29, 2021 06:55
for arg in GenArgList(arg_dict):
compare_with_tensorflow(*arg)

def test_cpu2(test_case):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

命名是否可以具体一点,比如groups和channels相等就是depthwise,以及这个测试样例感觉可以测一下多卡

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个是从test_conv2d里拷过来的 我改一下

@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot June 29, 2021 08:52
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot June 29, 2021 09:34
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot July 1, 2021 17:07
@oneflow-ci-bot oneflow-ci-bot self-requested a review July 1, 2021 18:45
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot July 1, 2021 20:19
@oneflow-ci-bot oneflow-ci-bot self-requested a review July 1, 2021 22:54
@mosout mosout requested review from oneflow-ci-bot and removed request for oneflow-ci-bot July 2, 2021 06:41
@mosout mosout requested review from oneflow-ci-bot and removed request for oneflow-ci-bot July 2, 2021 06:44
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot July 2, 2021 07:40
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot July 2, 2021 09:37
@oneflow-ci-bot oneflow-ci-bot merged commit 54b655f into master Jul 2, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the conv_bug_val branch July 2, 2021 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants