Tensorflow Welcome to the Tensorflow Tutorial! In this notebook you will learn all the basics of Tensorflow. You will implement useful functions and d ...
分类:
Web程序 时间:
2017-12-22 03:27:08
阅读次数:
266
Given the running logs of n functions that are executed in a nonpreemptive single threaded CPU, find the exclusive time of these functions. Each funct ...
分类:
其他好文 时间:
2017-12-16 15:55:23
阅读次数:
146
写在前面: 在写单元测试的时候有一个最重要的步骤就是Mock,我们通常会根据接口来Mock接口的实现,比如你要测试某个class中的某个方法,而这个方法又依赖了外部的一些接口的实现,从单元测试的角度来说我只关心我测试的方法的内部逻辑,我并不关注与当前class本身依赖的实现,所以我们通常会Mock掉 ...
分类:
其他好文 时间:
2017-12-12 00:10:00
阅读次数:
257
python3内置函数 python内置了一系列的常用函数,以便于我们使用,python英文官方文档详细说明:https://docs.python.org/3/library/functions.html?highlight=built#ascii abs() 获取绝对值 all() 接受一个迭代 ...
分类:
其他好文 时间:
2017-12-11 23:08:58
阅读次数:
380
/* Variables and functions for calc_load */ atomic_long_t calc_load_tasks; unsigned long calc_load_update; unsigned long avenrun[3]; /* Variables and ...
分类:
其他好文 时间:
2017-12-11 11:14:49
阅读次数:
347
Class Data or Attributes state of the application Methods or Functions have behavior state of the application have behavior Namespace is a container f ...
分类:
其他好文 时间:
2017-12-10 11:06:05
阅读次数:
171
let, const, class, extends, super, arrow functions, template string, destructuring, default, rest arguments(新特性) let, const let声明的变量只在其声明的块或子块中可用,这一点, ...
分类:
其他好文 时间:
2017-12-08 01:27:47
阅读次数:
173
[root@m01 20171207]# cat ryn_srv.sh #!/bin/bash rsn_file="/usr/bin/rsync" # 判断启动的进程数 [ -e /etc/init.d/functions ] && source /etc/init.d/functions || e... ...
分类:
其他好文 时间:
2017-12-07 17:14:18
阅读次数:
199
问题:我们在程序中使用fopen等CRT函数,就会出现一些警告信息,很烦人,如下: 1>e:/project/htt/ishow/functions.cpp(156) : warning C4996: 'fopen': This function or variable may be unsafe. ...
分类:
其他好文 时间:
2017-12-04 18:56:39
阅读次数:
196
Spark处理字符串日期的max和min的方式 Spark处理数据存储到Hive的方式 Spark处理新增列的方式map和udf、functions Spark处理行转列pivot的使用 ...
分类:
其他好文 时间:
2017-12-03 15:35:46
阅读次数:
231