A class for initializing learning rate schedulers. Valid inputs are: (a) __str__ representations of `KernelBase` instances (b) `KernelBase` instances (c) Parameter dicts (e.g., as produced via the :meth:`summary` method in `KernelBase` ins
(self, param=None)
| 240 | |
| 241 | class KernelInitializer(object): |
| 242 | def __init__(self, param=None): |
| 243 | """ |
| 244 | A class for initializing learning rate schedulers. Valid inputs are: |
| 245 | (a) __str__ representations of `KernelBase` instances |
| 246 | (b) `KernelBase` instances |
| 247 | (c) Parameter dicts (e.g., as produced via the :meth:`summary` method in |
| 248 | `KernelBase` instances) |
| 249 | |
| 250 | If `param` is None, return `LinearKernel`. |
| 251 | """ |
| 252 | self.param = param |
| 253 | |
| 254 | def __call__(self): |
| 255 | param = self.param |
nothing calls this directly
no outgoing calls
no test coverage detected