Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/microsoft/Cream
/ zero_grad
Method
zero_grad
TinyCLIP/src/training/optimizer.py:18–19 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
16
pass
17
18
def
zero_grad(self):
19
pass
20
21
22
def
build_optimizer(args, model):
Callers
15
train_one_epoch
Function · 0.80
train_one_epoch
Function · 0.80
train_one_epoch
Function · 0.80
train_one_epoch_distill_using_saved_logits
Function · 0.80
train_epoch
Function · 0.80
train_epoch
Function · 0.80
calculate_1st_gradient
Method · 0.80
calculate_2nd_gradient
Method · 0.80
before_run
Method · 0.80
after_train_iter
Method · 0.80
train_one_epoch
Function · 0.80
train
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected