Skip to content
Snippets Groups Projects
Unverified Commit 6e8c8cfe authored by Yinggang Wang's avatar Yinggang Wang Committed by GitHub
Browse files

Fix Tensor.grad setter bug (#5462)


* fix(Tensor): fix Tensor.grad setter bug

* refine error message

* fix(Tensor): fix bug

* add grad = grad * constant test

* update tensor.py to pr head

* format code

* fix(Parameter): fix Parameter construction bug

* fix bug

Co-authored-by: default avatartea321000 <834914152@qq.com>
Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
parent 75d3fa43
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment