theano.scan()原型: theano.scan( fn, sequences=None, outputs_info=None, non_sequences=None, n_steps=None, truncate_gradient=-1, go_backwards=False, mode=None, name=None, profile=False, allow_gc=None, strict=False ) fn:一个函数,要求scan的每一个步骤都需要执行这个函数,可以有多个参数,…