MCPcopy 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
22def build_optimizer(args, model):

Callers 15

train_one_epochFunction · 0.80
train_one_epochFunction · 0.80
train_one_epochFunction · 0.80
train_epochFunction · 0.80
train_epochFunction · 0.80
before_runMethod · 0.80
after_train_iterMethod · 0.80
train_one_epochFunction · 0.80
trainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected