fungtion / DANN_py3

python 3 pytorch implementation of DANN

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

why don't use the optimizer.zero_grad()

superhy opened this issue · comments

Why not use the step of optimizer.zero_grad(),

Is it have to? or use or not use will not affect too much?

Either of them performs well.