- 博客(15)
- 资源 (31)
- 收藏
- 关注
原创 ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devices的理解
前沿加速方法Channel Shuffle for Group ConvolutionsShuffleNet单元网络结构实验对比Github实现前沿随着近几年AI算法爆发式的发展,越来越多的运用场景出现了。为了让更多的算法落地,如何做移动端的模型加速和模型压缩成了近期的一个热点。比如前一段做参数量化的BinaryNet、Google出的GoogleNet,到现在Face++出的Shuff
2017-07-14 23:01:43 9021 4
原创 29. Divide Two Integers/49. Group Anagrams/96. Unique Binary Search Trees/560. Subarray Sum Equals K
Divide Two IntegersProblem DescriptionImplementation29. Divide Two IntegersProblem DescriptionDivide two integers without using multiplication, division and mod operator.If it is overflow, return MAX
2017-07-30 14:42:37 534
原创 645. Set Mismatch/598. Range Addition II/319. Bulb Switcher/374. Guess Number Higher or Lower
Set MismatchProblem DescriptionImplementation645. Set MismatchProblem DescriptionThe set S originally contains numbers from 1 to n. But unfortunately, due to the data error, one of the numbers in the
2017-07-25 12:58:39 649
原创 读<把时间当作朋友>摘要
时间是不可以管理的,我们能够管理的只有我们自己。时间在流逝,我们无法放慢时间,我们只能管理自己,改变对时间的态度。不以物喜,不以己悲。慢慢治疗自己的时间恐惧症。解决时间恐惧症的办法就是靠积累!
2017-07-22 22:39:57 723
原创 292. Nim Game/504. Base 7
292. Nim GameProblem DescriptionYou are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 stones. The one who rem
2017-07-21 09:30:25 328
转载 C++类型转换以及文件读写的总结
C++文件读写:// ofstream constructor.#include // std::ofstreamint main () { std::ofstream ofs ("test.txt", std::ofstream::out); // ofstream::app ofs << "lorem ipsum"; ofs.close();
2017-07-20 20:24:38 682
转载 C++: 二维数组作函数参数
变量在作用域里面被声明的是什么类型,就当作什么类型来用。(1)参数是二维数组,但是要指定第二维的维数。int array[10][10];函数声明:void fuc(int a[][10]);函数调用:fuc(array);——在函数fuc中,a是二维数组。使用a[i][j]形式来访问数组中元素。(2)参数使用一维指针数组。int *array[10];for(i
2017-07-20 09:30:32 760
转载 Caffe中的卷积计算(矩阵优化加速)
Caffe对卷积层做了专门的优化,如果没有做优化的话,那么就是六层循环。所以为了做加速,卷积层需要专门的优化。它的优化如下:Caffe中的卷积计算是将卷积核矩阵和输入图像矩阵变换为两个大的矩阵A与B,然后A与B进行矩阵相乘得到结果C(利用GPU进行矩阵相乘的高效性),三个矩阵的说明如下:(1)在矩阵A中 M为卷积核个数,K=
2017-07-19 17:22:04 4737 2
转载 extern 用法,全局变量与头文件(重复定义)
用#include可以包含其他头文件中变量、函数的声明,为什么还要extern关键字,如果我想引用一个全局变量或函数a,我只要直接在源文件中包含#include首先说下头文件,其实头文件对计算机而言没什么作用,她只是在预编译时在#include的地方展开一下,没别的意义了,其实头文件主要是给别人看的。我做过一个实验,将头文件的后缀改成xxx.txt,然后在引用该头文件的地方用#include"x
2017-07-19 09:44:58 1559
原创 617. Merge Two Binary Trees
617. Merge Two Binary TreesProblemGiven two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overlapped while the others are not.You need to me
2017-07-16 22:32:54 342
原创 637. Average of Levels in Binary Tree\633. Sum of Square Numbers\643. Maximum Average Subarray I
Average of Levels in Binary TreeProblemImplementationSum of Square NumbersProblem DescriptionImplementationMaximum Average Subarray IDescriptionImplementation637. Average of Levels in Binary Tr
2017-07-16 20:33:56 708
原创 475. Heaters
475. HeatersProblemWinter is coming! Your first job during the contest is to design a standard heater with fixed warm radius to warm all the houses.Now, you are given positions of houses and heaters on
2017-07-16 01:34:40 288
原创 606. Construct String from Binary Tree
606. Construct String from Binary TreeProblemYou need to construct a string consists of parenthesis and integers from a binary tree with the preorder traversing way.The null node needs to be represente
2017-07-15 21:14:20 293
原创 621. Task Scheduler
Task SchedulerProblemImplmentation621. Task SchedulerProblemGiven a char array representing tasks CPU need to do. It contains capital letters A to Z where different letters represent different tasks.
2017-07-15 20:11:12 517
原创 628. Maximum Product of Three Numbers
Maximum Product of Three NumbersProblemImplementation628. Maximum Product of Three NumbersProblemGiven an integer array, find three numbers whose product is maximum and output the maximum product.Exa
2017-07-15 19:49:58 353
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人