def _def_opt(self, loss):
    '\n        returns a module for and the optimizer\n        '
    raise NotImplementedError
returns a module for and the optimizer
def _def_opt(self, loss):
    '\n        \n        '
    raise NotImplementedError