MCPcopy Create free account
hub / github.com/Kaggle/docker-python / configure_optimizers

Method configure_optimizers

tests/test_pytorch_lightning.py:56–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54 self.log('val_loss', loss)
55
56 def configure_optimizers(self):
57 return torch.optim.Adam(self.parameters(), lr=1e-2)
58
59class TestPytorchLightning(unittest.TestCase):
60

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected