X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;ds=inline;f=problem.py;h=0795de193dff1afd7ddb44910cb34f1e184b62db;hb=240870f5535bac35a08c552108d032854a8e2c38;hp=354235ee4e6fc7b525694b63341137d5fefde475;hpb=3bb50442e264446ea94308aef86a4d2a7024417f;p=culture.git diff --git a/problem.py b/problem.py index 354235e..0795de1 100755 --- a/problem.py +++ b/problem.py @@ -7,12 +7,13 @@ class Problem: - # returns a nb x (L+1+L) long tensor - def generate_seq(self, nb): + # 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_token_sequences(self, nb): pass # save a file to vizualize quizzes, you can save a txt or png file - def save_quizzes(self, input, result_dir, filename_prefix, logger): + def save_quizzes(self, input, result_dir, filename_prefix): pass # returns a pair (forward_tokens, backward_token)