码迷,mamicode.com
首页 >  
搜索关键字:call    ( 9711个结果
vim 配置缩进线
安装git 在liunx终端sudo apt install git 使用git安装bunlde插件 git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim 对vimrc文件进行配置 call vu ...
分类:系统相关   时间:2020-06-20 21:32:22    阅读次数:124
call ,apply ,bind 函数的模拟实现
call() 方法在使用一个指定的 this 值和若干个指定的参数值的前提下调用某个函数或方法。 apply 方法,类似,不同点在于, apply 方法传入的第二个参数 是一个数组, 实现步骤 改变函数的his指向 调用该方法 删除方法 function foo(){ console.log(thi ...
分类:移动开发   时间:2020-06-20 21:05:03    阅读次数:76
基于NVIDIA GPUs的深度学习训练新优化
基于NVIDIA GPUs的深度学习训练新优化 New Optimizations To Accelerate Deep Learning Training on NVIDIA GPUs 不同行业采用人工智能的速度取决于最大化数据科学家的生产力。NVIDIA每月都会发布优化的NGC容器,为深度学习框 ...
分类:其他好文   时间:2020-06-20 17:11:07    阅读次数:55
TensorFlow优化器浅析
本文基于tensorflow-v1.15分支,简单分析下tensorflow中的优化器。 optimizer = tf.train.GradientDescentOptimizer(learning_rate=.05) train_op = optimizer.minimize(loss) 实际上, ...
分类:其他好文   时间:2020-06-20 14:10:14    阅读次数:159
js判断变量是不是数组
var arr= [1,2,3,4]; function isArray(o) { return Object.prototype.toString.call(o)== '[object Array]'; } console.log(isArray(arr));//Object.prototype. ...
分类:编程语言   时间:2020-06-20 14:09:24    阅读次数:61
php7安装gd库,解决tp5tp6验证码模块出现未定义imagettftext()的问题
Call to undefined function think\captcha\imagettftext()
分类:Web程序   时间:2020-06-20 10:32:15    阅读次数:97
selenium打开浏览器底层实现原理中的异常4(Failed to establish a new connection: [WinError 10061] 由于目标计算机积 极拒绝,无法连接)
代码: #coding=utf-8 import requests import json url='http://127.0.0.1:4444/wd/hub/session' data = json.dumps({ 'desiredCapabilities':{ 'browserName':'Mi ...
分类:Windows程序   时间:2020-06-20 01:26:05    阅读次数:182
mysql::性能调优
mysql分析sql语句耗时情况 mysql -h10.3.40.98 -uroot -p command mysql> use viewfocus; mysql> set profiling=1; call func(); show profiles; ...
分类:数据库   时间:2020-06-20 01:08:15    阅读次数:64
函数的节流
函数的节流 函数节流的原因 DOM操作操作比非DOM操作需要更多的内存和CPU时间比如 onresize事件处理程序DOM操作,高频率会让浏览器崩溃,解决这个问题可以用定时器对该函数进行节流 函数节流基本思想 每隔一段时间执行, 比如第一次调用函数,创建一个定时器,在指定时间隔执行代码,第二次调用函 ...
分类:其他好文   时间:2020-06-20 00:49:42    阅读次数:79
subprocess.call和subprocess.Popen
# 执行命令,返回是否执行成功retcode = subprocess.call("for tar in %s/*.tar.gz;do tar zxvf $tar -C %s;done" %(first_dir,first_dir))#执行命令,返回执行命令的结果,close_fds防止僵尸进程大量 ...
分类:其他好文   时间:2020-06-19 15:59:17    阅读次数:45
9711条   上一页 1 ... 36 37 38 39 40 ... 972 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!