Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MotrixLab/MotionDiffuse
/ zero_grad
Method
zero_grad
text2motion/trainers/ddpm_trainer.py:53–55 ·
view source on GitHub ↗
(opt_list)
Source
from the content-addressed store, hash-verified
51
52
@staticmethod
53
def
zero_grad(opt_list):
54
for
opt in opt_list:
55
opt.zero_grad()
56
57
@staticmethod
58
def
clip_norm(network_list):
Callers
1
update
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected