theano.scan
来源:互联网 发布:plc编程基础教程 编辑:程序博客网 时间:2024/05/17 08:08
outputs,updates = 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, return_list=False)
fn为循环要执行的方法
sequences为第一部分输入,可以更新
outputs_info为输出的初始格式,也作为输入,每循环一次都要更新
non_sequences也是输入,但是输入的值不可变
三个都可以是list
fn中参数的顺序为sequences(按顺序)、outputs_info、non_sequences
若sequences为[a,b],a、b分别为[1,2,3]和[1,1,1],则scan循环3次,每次输入的sequences分别为[1,1],[2,1],[3,1];
outputs_info每次循环都更新,更新后的作为下一次的输入;non_sequences三次都一样;
最后得到的结果为outputs=[first,second,third],
updates为共享参数在循环中的更新规则,应该传给theano.function(...,updates=updates)
阅读全文
0 0
- Theano scan
- theano-scan
- theano.scan
- theano scan 笔记
- Theano---scan函数
- theano的scan函数
- theano - scan - 个人理解
- theano scan 实例
- theano scan 实例
- Theano学习-循环-scan
- Theano(7):Theano循环语句,Scan
- theano.function、theano.scan 参数数据类型问题
- 理解Theano的Scan函数
- theano scan arange shape 实例
- 五个例子掌握theano.scan函数
- Theano 中 scan 函数的参数解释
- 深度学习Theano中scan的使用方法
- theano的scan的大概科普文章。。。
- Windows停止进程
- Electron-vue环境配置,打包报错问题解决
- java引入泛型的好处
- SLAM入门资料汇总
- Centos7中安装jdk1.8
- theano.scan
- 查询select中选中的值bootstrao+Vue.js+spring
- PopWindown设置在底部的正上方的bug
- mybatis返回Map结果集
- Linux
- 安卓Dialog弹出对话框全解:包含了AlertDialog,DialogFragment
- python+requests实现接口测试
- CPAN的安装
- 链表中倒数第k个结点 输入一个链表,输出该链表中倒数第k个结点。