上一页 1 2 3 4 5 6 7 8 9 10 ··· 26 下一页
摘要: 就是二进制数中只有1位为1,就是2的幂。n & (n 1)可以把二进制数中最后一位1置0. 阅读全文
posted @ 2017-10-13 21:13 清水汪汪 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 异或操作可以将不同的位,置为1,然后再统计出1的个数就可以计算出不同位数的个数。 C++ include using namespace std; int main() { int a, b; cin a b; int c = a ^ b; int num = 0; while (c) { num+ 阅读全文
posted @ 2017-10-13 20:20 清水汪汪 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 论文地址:https://arxiv.org/abs/1610.09650 主要思想 这篇文章就是用teacher student模型,用一个teacher模型来训练一个student模型,同时对teacher模型的输出结果加以噪声,然后来模拟多个teacher,这也是一种正则化的方法。 1. te 阅读全文
posted @ 2017-10-12 00:22 清水汪汪 阅读(1905) 评论(0) 推荐(0) 编辑
摘要: 论文地址:https://arxiv.org/abs/1707.06342 主要思想 1. 选择一个channel的子集,然后让通过样本以后得到的误差最小(最小二乘),将裁剪问题转换成了优化问题。 2. 这篇论文题目说是对filter的裁剪,其实是对channel的裁剪,对channel裁剪以后,当 阅读全文
posted @ 2017-10-11 09:28 清水汪汪 阅读(1178) 评论(0) 推荐(0) 编辑
摘要: 论文地址:https://arxiv.org/abs/1608.08710 主要思想 这篇文章主要讲了对filters的裁剪,裁剪方法是计算L1范数,然后裁剪掉较少的,多少取决于加速比。 实现效果 1. VGG 16 34%加速 2. ResNet 110 38%加速 具体实现 1. 对于每一个ke 阅读全文
posted @ 2017-10-09 17:28 清水汪汪 阅读(6197) 评论(0) 推荐(0) 编辑
摘要: 论文地址:https://arxiv.org/abs/1707.06168 代码地址:https://github.com/yihui he/channel pruning 采用方法 这篇文章主要讲诉了采用裁剪信道(channel pruning)的方法实现深度网络的加速。主要方法有两点: (1)L 阅读全文
posted @ 2017-10-09 14:20 清水汪汪 阅读(4840) 评论(0) 推荐(0) 编辑
摘要: Question Given an unsorted array return whether an increasing subsequence of length 3 exists or not in the array. Formally the function should: Return 阅读全文
posted @ 2017-10-03 20:14 清水汪汪 阅读(133) 评论(0) 推荐(0) 编辑
摘要: Question Follow up for "Find Minimum in Rotated Sorted Array": What if duplicates are allowed? Would this affect the run time complexity? How and why? 阅读全文
posted @ 2017-10-02 13:36 清水汪汪 阅读(111) 评论(0) 推荐(0) 编辑
摘要: Question Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] 阅读全文
posted @ 2017-09-30 16:37 清水汪汪 阅读(84) 评论(0) 推荐(0) 编辑
摘要: Question Given a positive integer n and you can do operations as follow: If n is even, replace n with n/2. If n is odd, you can replace n with either 阅读全文
posted @ 2017-09-30 16:29 清水汪汪 阅读(112) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 26 下一页