MCPcopy Create free account
hub / github.com/chenhaoxing/HDNet / optimize_parameters

Method optimize_parameters

models/base_model.py:73–75  ·  view source on GitHub ↗

Calculate losses, gradients, and update network weights; called in every training iteration

(self)

Source from the content-addressed store, hash-verified

71
72 @abstractmethod
73 def optimize_parameters(self):
74 """Calculate losses, gradients, and update network weights; called in every training iteration"""
75 pass
76
77 def setup(self, opt):
78 """Load and print networks; create schedulers

Callers 1

train_evaluate.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected