(self, case)
| 62 | self._auto_setting(case) |
| 63 | |
| 64 | def _auto_setting(self, case): |
| 65 | setattr(self, 'case', case) |
| 66 | |
| 67 | # logdir for a case is automatically set to [logdir_path]/[case] |
| 68 | setattr(self, 'logdir', '{}/{}'.format(hparam.logdir_path, case)) |
| 69 | |
| 70 | hparam = Hparam() |