Пример #1
0
 def __init__(self, name, config, model):
     PyTorchWrapper.__init__(self, model)
     self.cfg = dict(config)
 def __init__(self, name):
     model = get_pytt_model(name)
     PyTorchWrapper.__init__(self, model)