def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
def sample_fn(x):
    return utils.optimise_and_sample(x, module=model,
                                     data=None, is_training=False)[0]