学习总结
CDaron
As long as we're running,as long as we don't stop,who konws what's going on ahead?
展开
-
numpy中axis的通俗理解(个人学习见解)
import numpy as npa = np.arange(12).reshape(2,3,2)print a# 个人理解,a将1~11分成两个数组,分别是三行两列(0~5一组,另一组6~11)# output[[[ 0 1] [ 2 3] [ 4 5]] [[ 6 7] [ 8 9] [10 11]]]然而,numpy中的axis=0可以理解为最外层括号,每向内增加一层括号,axis加1;# 这里sum(axis=0)其实就是第一个括号里面的两个数.原创 2020-12-17 22:10:15 · 265 阅读 · 1 评论 -
adb shell top命令详解
top命令提供了实时的对系统处理器的状态监视.它将显示系统中CPU最“敏感”的任务列表.该命令可以按CPU使用.内存使用和执行时间对任务进行排序. 返回信息解释:> adb shell top User 13%, System 5%, IOW 0%, IRQ 0%User 85 + Nice 0 + Sys 37 + Idle 509 + IOW0 + IRQ 0 + SIRQ 0 = ...原创 2018-07-14 11:20:01 · 11533 阅读 · 0 评论