MCPcopy Create free account
hub / github.com/ddbourgin/numpy-ml / __str__

Method __str__

numpy_ml/neural_nets/optimizers/optimizers.py:314–320  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

312 }
313
314 def __str__(self):
315 H = self.hyperparameters
316 sc = H["lr_scheduler"]
317 lr, eps, dc, cn = H["lr"], H["eps"], H["decay"], H["clip_norm"]
318 return "RMSProp(lr={}, eps={}, decay={}, clip_norm={}, lr_scheduler={})".format(
319 lr, eps, dc, cn, sc
320 )
321
322 def update(self, param, param_grad, param_name, cur_loss=None):
323 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected