theolepage's picture
initial commit
430712c
raw
history blame contribute delete
188 Bytes
#! /usr/bin/python
# -*- encoding: utf-8 -*-
import torch
def Optimizer(parameters, lr, **kwargs):
print('Initialised Adam optimizer')
return torch.optim.AdamW(parameters, lr = lr);