风花雪月 风花雪月
2年前
简单的GRU实例代码
importnumpyasnp定义sigmoid函数defsigmoid(x):return1/(1np.exp(x))classRNN:definit(self,inputsize,hiddensize,outputsize):设定超参数self.in
Stella981 Stella981
3年前
JVM常用命令解析
命令行:1.jps:虚拟机进程状况工具2.jstat:虚拟机统计信息监视工具3.jinfo:java配置信息工具4.jmap:java内存映射工具5.jhat:虚拟机堆转储快照分析工具6.jstack:java堆栈跟踪工具7.hsdis:jit生成代码反编汇8.目录:D:\\ProgramFiles\\jd
Easter79 Easter79
3年前
Squid学习笔记
1、部署编译安装(以下编译安装参数适用Squid3.0stable20) ./configureprefix/usr/local/squidenableasyncio100withpthreadsenablestoreio"ufs,aufs,diskd"enableremovalpolicies
Stella981 Stella981
3年前
Bootstrap3基础 form
<center内容</center<center参数</center  OS  Windows10x64  browser  Firefox65.0.2  framework    Bootstrap3.3.7  editor  VisualStudioCode1.32.1    typesett
Wesley13 Wesley13
3年前
Ubuntu16.04安装Scrapy命令
背景命令行下有三种安装Scrapy的方式:aptget:千万不要用,因为你会下载到一个上古时期的Scrapy版本,产生一系列与你参考教程的代码不兼容的问题easy\_install:我没有安装成功pip:Scrapy官网上推荐的下载方式,我们使用这种方法安装首先Python(https://www
Stella981 Stella981
3年前
Python笔记:用read_html()来抓取table格式的网页数据
read\_html()的基本语法及其参数:pandas.read_html(io,match'.',flavorNone,headerNone,index_colNone,skiprowsNone,attrsNone,parse_datesFalse,thousands',',encodingNone,
Wesley13 Wesley13
3年前
3.spring boot Controller获取请求参数的值
1.获取连接中的参数,使用倒的关键词@PathVariable@RestControllerpublicclassHelloController{@RequestMapping(value"/hello/{id}",methodRequestMethod.GET)publicStringindex(@Path
Stella981 Stella981
3年前
Python并发编程
importtimefrommultiprocessingimportProcessimportosdeffunc(args,args2):传递参数到进程print(args,args2)time.sleep(1)print('子进程:',os.ge
Stella981 Stella981
3年前
Redis redis
redisbenchmarkbenchmarkredisbenchmarkh127.0.0.1p6382c500n200000 n Totalnumberofrequests(default100000)\c500个并发连接,其他参数请通过 redisbenchmark
云电脑:运行原理与自行搭建指南
云电脑是一种基于云计算的虚拟化电脑,它的运算、存储和管理都由远程数据中心来处理。用户通过简单的终端设备(如手机、平板或瘦客户端)以图形界面或命令行方式进行操作,所有的应用程序和数据都存储在远程的数据中心。