(v)
| 13 | return torch.log(x/(1-x)) |
| 14 | |
| 15 | def str2bool(v): |
| 16 | if isinstance(v, bool): |
| 17 | return v |
| 18 | if v.lower() in ('yes', 'true', 't', 'y', '1'): |
| 19 | return True |
| 20 | elif v.lower() in ('no', 'false', 'f', 'n', '0'): |
| 21 | return False |
| 22 | |
| 23 | def get_expon_lr_func( |
| 24 | lr_init, lr_final, lr_delay_steps=0, lr_delay_mult=1.0, max_steps=1000000 |
nothing calls this directly
no outgoing calls
no test coverage detected