X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=problem.py;h=95a9c4180be0bbac89bd19b8329b80c22942a72f;hb=4f0057b363762698f90eea05de154e62b6883bd0;hp=25ffc494b9c9fe6e97cfe824a0e224a0af9abcce;hpb=e2c3b8046c3fddef8aacb74cf5f848d42044897e;p=culture.git diff --git a/problem.py b/problem.py index 25ffc49..95a9c41 100755 --- a/problem.py +++ b/problem.py @@ -7,11 +7,15 @@ class Problem: + # returns a nb x (L+1+L) long tensor where L is the length of one + # of the two states of a quizz def generate_seq(self, nb): pass - def save_quizzes(self, input, result_dir, filename_prefix, logger): + # save a file to vizualize quizzes, you can save a txt or png file + def save_quizzes(self, input, result_dir, filename_prefix): pass + # returns a pair (forward_tokens, backward_token) def direction_tokens(self): pass