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
11 def generate_seq(self, nb):
14 # save a file to vizualize quizzes, you can save a txt or png file
15 def save_quizzes(self, input, result_dir, filename_prefix, logger):
18 # returns a pair (forward_tokens, backward_token)
19 def direction_tokens(self):