Method
__init__
(self, inv_gamma=1., power=1., min_value=0., max_value=1., start_at=0,
last_epoch=0)
Source from the content-addressed store, hash-verified
| 122 | """ |
| 123 | |
| 124 | def __init__(self, inv_gamma=1., power=1., min_value=0., max_value=1., start_at=0, |
| 125 | last_epoch=0): |
| 126 | self.inv_gamma = inv_gamma |
| 127 | self.power = power |
| 128 | self.min_value = min_value |
| 129 | self.max_value = max_value |
| 130 | self.start_at = start_at |
| 131 | self.last_epoch = last_epoch |
| 132 | |
| 133 | def state_dict(self): |
| 134 | """Returns the state of the class as a :class:`dict`.""" |
Tested by
no test coverage detected