3 # Any copyright is dedicated to the Public Domain.
4 # https://creativecommons.org/publicdomain/zero/1.0/
6 # Written by Francois Fleuret <francois@fleuret.org>
10 # returns a nb x (L+1+L) long tensor where L is the length of one
11 # of the two states of a quizz
12 def generate_token_sequences(self, nb):
15 # save a file to vizualize quizzes, you can save a txt or png file
16 def save_quizzes(self, input, result_dir, filename_prefix):
19 # returns a pair (forward_tokens, backward_token)
20 def direction_tokens(self):