transform

old TransE-like models
git clone https://esimon.eu/repos/transform.git
Log | Files | Refs | README

commit 754e753c3b20c82954d5e60d953aa20c01410ab5
parent 94da3eeeb689401e0aac84ad424397c0943a3d6f
Author: Étienne Simon <esimon@esimon.eu>
Date:   Thu, 17 Apr 2014 18:47:15 +0200

Add log function

Diffstat:
Autils/log.py | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/utils/log.py b/utils/log.py @@ -0,0 +1,6 @@ +from __future__ import print_function +import sys + +def log(message): + print(message, end='') + sys.stdout.flush()