MCPcopy Create free account
hub / github.com/apache/singa / set_optimizer

Method set_optimizer

examples/cifar_distributed_cnn/model/cnn.py:72–73  ·  view source on GitHub ↗
(self, optimizer)

Source from the content-addressed store, hash-verified

70 return out, loss
71
72 def set_optimizer(self, optimizer):
73 self.optimizer = optimizer
74
75
76def create_model(pretrained=False, **kwargs):

Callers 2

train_resnetFunction · 0.45
runFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected