TextClassificationBenchmark icon indicating copy to clipboard operation
TextClassificationBenchmark copied to clipboard

why donot use optimizer.zero_grad in each training step?

Open meshiguge opened this issue 7 years ago • 0 comments

https://github.com/wabyking/TextClassificationBenchmark/blob/b5ac116c74493c28f2af2541f21385df7c73ef93/main.py#L71

meshiguge avatar Oct 23 '18 06:10 meshiguge