摘要: Returns a Tensor of random numbers drawn from separate normal distributions who’s mean and standard deviation are given. 这个是官网给出的解释,大意是返回一个张量,张量里面的随机数 阅读全文
posted @ 2017-12-14 15:23 深度学习1 阅读(34133) 评论(0) 推荐(1) 编辑
摘要: from:http://blog.csdn.net/VictoriaW/article/details/72872036 之前我学习了神经网络中权值初始化的方法 那么如何在pytorch里实现呢。 PyTorch提供了多种参数初始化函数: torch.nn.init.constant(tensor, 阅读全文
posted @ 2017-12-14 14:33 深度学习1 阅读(22521) 评论(0) 推荐(2) 编辑
摘要: 参考博客:https://www.cnblogs.com/lrj567/p/6307329.html 本来不想写的,但是最近老是重装系统,每次百度特别浪费时间,特此记录一下 先去官网下载搜狗输入法linux版的安装包,打开软件和更新 点击其他软件,添加软件源ppa:fcitx-team/nightl 阅读全文
posted @ 2017-12-14 13:21 深度学习1 阅读(261) 评论(0) 推荐(0) 编辑
摘要: from:http://www.runoob.com/python3/python3-class.html Python3 面向对象 Python从设计之初就已经是一门面向对象的语言,正因为如此,在Python中创建一个类和对象是很容易的。本章节我们将详细介绍Python的面向对象编程。 如果你以前 阅读全文
posted @ 2017-12-14 10:54 深度学习1 阅读(697) 评论(0) 推荐(0) 编辑