Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tdrussell/diffusion-pipe
/ zero_grad
Method
zero_grad
train.py:69–70 ·
view source on GitHub ↗
(self, set_to_none: bool = True)
Source
from the content-addressed store, hash-verified
67
pass
68
69
def
zero_grad(self, set_to_none: bool = True):
70
pass
71
72
def
state_dict(self):
73
return
{}
Callers
1
optimizer_hook
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected