Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick Start
Create a new post
bash
$ hexo new "My New Post"
More info: Writing
Run server
bash
$ hexo server
More in继续阅读 »
I got a good things on GitHub, and share it here. There are some classical papers about deep learning.
Survey Review
Deep learning (2015), Y. LeCun, Y. Bengio and G. Hinton [pdf] :sparkles:
Deep learning in neural networks: An overview (2015), J. Schmidhuber [pdf] :sparkles:
Representation learning: A review and new 继续阅读 »
Why
读ConcurrentHashMap的时候,我们遇到的一个很大的概念就是Segment(java8之后只有在调用writeObject方法的方法的时候才会用到segment),该类继承了ReentrantLock,用于实现分段锁(乐观锁)。处于心痒痒的目的,我也尝试写了个简陋版的分段锁。
How
该Demo实现的比较简单:根据key获取或者创建Lock(获取锁的时候使用double check),然后使用该锁来同步put或者read(ConcurrentHashMap的读操作使用的volatile,这里不深入)。不足之处还请指正~
What
java实现: github
more
```java
package 继续阅读 »