Description Standard web browsers contain features to move backward and forward among the pages recently visited. One way to implement these features ...
分类:
Web程序 时间:
2018-05-24 21:50:38
阅读次数:
250
[抄题]: Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Example 2: Examp ...
分类:
其他好文 时间:
2018-05-01 12:34:12
阅读次数:
118
AbstractQueuedSynchronized 以下简称AQS,是用来构建锁或者其他同步组件的基础框架。 在AQS中,为锁的获取和释放提供了一些模板方法,而实现锁的类(AQS的子类)需要实现这些模板方法中的同步方法。 这些方法包括: ·tryAcquire():尝试以独占模式获取锁 ·tryR ...
分类:
其他好文 时间:
2018-04-30 11:41:03
阅读次数:
185
这事cpu版本的错误,我看到的解决方法如下: 由于这是作者自己改的caffe,而且版本比较老,所以可以做如下改动: 将upsample_layer.cpp中的第127,128行直接注释掉: 然后 也就是重新编译caffe,因为这个cpp是caffe代码,所以必须重新编译caffe才可以。 ...
分类:
Web程序 时间:
2018-03-26 20:42:40
阅读次数:
250
今天闲来无事,考虑到以前都没有好好研究过卷积层、池化层等等的前向/反向传播的原理,所以今天就研究了一下,参考了一篇微信好文,讲解如下: 参考链接:https://www.zybuluo.com/hanbingtao/note/485480 https://github.com/hanbt/learn ...
分类:
其他好文 时间:
2018-03-24 14:26:26
阅读次数:
3061
转载:http://www.cnblogs.com/louyihang-loves-baiyan/ 首先看到的是Blob这个类,Blob是作为Caffe中数据流通的一个基本类,网络各层之间的数据是通过Blob来传递的。这里整个代码是非常规范的,基本上条件编译,命名空间,模板类,各种不太经常看到的关键 ...
分类:
其他好文 时间:
2018-03-16 18:42:13
阅读次数:
191
---title: 博弈论 斯坦福game theory stanford week 4-0tags: notenotebook: 6- 英文课程-15-game theory--- # 博弈论 斯坦福game theory stanford week 4-0 ## perfect informat... ...
分类:
其他好文 时间:
2018-03-13 22:49:47
阅读次数:
237
nn.Module基类的构造函数: def __init__(self): self._parameters = OrderedDict() self._modules = OrderedDict() self._buffers = OrderedDict() self._backward_hook ...
分类:
其他好文 时间:
2018-03-04 00:25:09
阅读次数:
797
P1118 [USACO06FEB]数字三角形Backward Digit Su… ...
分类:
其他好文 时间:
2018-02-24 19:22:57
阅读次数:
175
一、封装新的PyTorch函数 继承Function类 forward:输入Variable->中间计算Tensor->输出Variable backward:均使用Variable 线性映射 调用方法一 类名.apply(参数) 输出变量.backward() 开始前向传播 type in for ...
分类:
其他好文 时间:
2018-02-19 11:35:01
阅读次数:
3205