def run(fn,params,seq,trials=1):
    for _ in range(trials):
        cost,_,_ = fn(params, seq)
        print "Negative loglikelihood is %.9f"%(cost)
dataset/ETHPy150Open amaas/stanford-ctc/ctc/time_trials.py/run/original