- 博客(2)
- 收藏
- 关注
转载 小心python的list乘法
python是个很方便的语言,我经常使用python的*操作符去构建list中的重复元素。例如:>>> l = [1] * 4>>> print(l)>>> [1, 1, 1, 1]这样做确实很方便,但也很危险,请先看下面的代码:>>> l = [{'a': 1}] * 4>>> print(l)>>> [{'a': 1}, {'a': 1}, {'a': 1},
2016-11-17 16:02:05 28318 5
原创 Bengio <Deep Learning> 笔记
书本介绍:The Deep Learning textbook is a resource intended to help students and practitioners enter the field of machine learning in general and deep learning in particular. The online version of the book
2016-11-10 22:35:45 1263
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人