3.10.0-327的内核,crash记录如下: KERNEL: vmlinux DUMPFILE: vmcore [PARTIAL DUMP] CPUS: 48 DATE: Wed Oct 18 20:37:18 2017 UPTIME: 1 days, 09:43:06LOAD AVERAGE: ...
分类:
系统相关 时间:
2017-10-23 14:16:38
阅读次数:
412
Given a non-empty binary tree, return the average value of the nodes on each level in the form of an array. Example 1: ...
分类:
其他好文 时间:
2017-10-22 21:27:55
阅读次数:
91
要求二 1.实验代码 第一步:先定义三个变量a,b,c 第二步:输入a,b 第三步:运算c 第四步:输出c的值 这道题没有问题 2.实验代码 第一步:先定义整数a,b,c,d,sum,开始sum=0 第二步:定义浮点数average,开始average=0 第三步:输入a,b,c,d的值 第四步:运 ...
分类:
其他好文 时间:
2017-10-20 13:43:12
阅读次数:
206
Given an array consisting of n integers, find the contiguous subarray of given length k that has the maximum average value. And you need to output the ...
分类:
编程语言 时间:
2017-10-20 10:19:51
阅读次数:
233
题目1.A乘以B 设计思路: 第一步:给出变量A,B,C。 第二步:通过scanf使得可以给A,B分别赋值。 第三步:令C=A乘以B。 第四步:输出十进制数C得到A乘以B的结果。 调试过程: 1.在学代码的过程中由于在scanf之前使得C=A*B,导致结果始终为0,改变位置后问题得到解决。 运行结果 ...
分类:
其他好文 时间:
2017-10-18 23:43:52
阅读次数:
413
图示池化层(前向传播) 池化层其实和卷积层有点相似,有个类似卷积核的窗口按照固定的步长在移动,每个窗口做一定的操作,按照这个操作的类型可以分为两种池化层: MAC (max pooling)在窗口中取最大值当做结果 AVG (average pooling)在窗口中取平均值当做结果 池化层的反向传播 ...
分类:
其他好文 时间:
2017-10-18 13:18:21
阅读次数:
183
Design a data structure that supports all following operations in average O(1) time. 设计一个数据结构,使得插入、删除,随机获取一个元素的时间复杂度都是O(1) ...
分类:
其他好文 时间:
2017-10-16 19:48:07
阅读次数:
195
Given an array consisting of n integers, find the contiguous subarray of given length k that has the maximum average value. And you need to output the ...
分类:
其他好文 时间:
2017-10-15 14:19:13
阅读次数:
139
【top】 命令可以动态查看当前系统的资源情况,以及占用资源的命令列表 用法: - ctrl + c / q : 停止此命令运行 - c : 展示完整的命令 - 【top -bn1】:可以不动态的展示当前系统的资源情况 - 【uptime】:第一行的load average可以通过此命令看到 【dm ...
分类:
系统相关 时间:
2017-10-14 14:56:27
阅读次数:
240
不管是GMM,还是k-means,都面临一个问题,就是k的个数如何选取?比如在bag-of-words模型中,用k-means训练码书,那么应该选取多少个码字呢?为了不在这个参数的选取上花费太多时间,可以考虑层次聚类。 假设有N个待聚类的样本,对于层次聚类来说,基本步骤就是: 1、(初始化)把每个样 ...
分类:
其他好文 时间:
2017-10-13 21:24:52
阅读次数:
217