Python 2.7 什么样的论据才是「;序列“;paramater接受NO.scan扫描,如何解释
我从中获取了以下代码 这里的代码旨在解释“序列”参数。 我的问题是:Python 2.7 什么样的论据才是「;序列“;paramater接受NO.scan扫描,如何解释,python-2.7,theano,theano.scan,Python 2.7,Theano,Theano.scan,我从中获取了以下代码 这里的代码旨在解释“序列”参数。 我的问题是: 序列是如何输入的?第一项“系数”是张量变量。第二项“theano.tensor.arange(max_系数)”是一个张量变量,它使用eval()给出一个带有[0……999]的列表。教程说- "The tensor(s) to be looped over should be provided to scan using the sequence keyword argument." 根据“序列”中提供的参数,循环是如何发生的
"The tensor(s) to be looped over should be provided to scan using the sequence keyword argument."
根据“序列”中提供的参数,循环是如何发生的参数的顺序是:序列[t],输出信息,非序列
coefficients[t]
theano.tensor.arange(max_coefficients_supported)[t]
x
输出信息保存上一次迭代的结果
coefficients[t]
theano.tensor.arange(max_coefficients_supported)[t]
x