MNIST 数据集简单识别程序 """ # @Time : 2020/10/20 # @Author : Jimou Chen """ import torch from torch import nn, optim from torch.autograd import Variable from ...
分类:
其他好文 时间:
2020-10-21 20:38:41
阅读次数:
15
在使用jmeter做接口测试的时候,经常会要用到日期这种函数,让系统自动生成一些格式化的数据,方便接口测试,jmeter自身就带有时间戳的函数 1、__time:获取时间戳、格式化时间 (1)、${__time(yyyy-MM-dd HH:mm:ss:SSS,time)} :格式化生成时间格式 20 ...
分类:
其他好文 时间:
2020-10-20 16:43:05
阅读次数:
39
inux下TCP/IP及内核参数优化有多种方式,参数配置得当可以大大提高系统的性能,也可以根据特定场景进行专门的优化,如TIME_WAIT过高,DDOS攻击等等。如下配置是写在sysctl.conf中,可使用sysctl -p生效,相关参数仅供参考,具体数值还需要根据机器性能,应用场景等实际情况来做 ...
分类:
其他好文 时间:
2020-10-20 16:27:09
阅读次数:
23
// 窗口事件 procedure InitializeWizard(); //载入窗口事件 procedure DeinitializeSetup(); //退出程序后事件 begin showmessage('执行');end; //函数 function InitializeSetup(): ...
分类:
其他好文 时间:
2020-10-20 16:23:52
阅读次数:
23
logstash cat /etc/logstash/logstash.yml |grep -v '#'path.data: /data/logstash/datapipeline.ordered: autopath.config: /data/logstash_conf/*.confconfig. ...
分类:
其他好文 时间:
2020-10-19 23:01:41
阅读次数:
24
##题目描述 假设银行有K个窗口提供服务,窗口前设一条黄线,所有顾客按到达时间在黄线后排成一条长龙。当有窗口空闲时,下一位顾客即去该窗口处理事务。当有多个窗口可选择时,假设顾客总是选择编号最小的窗口。 本题要求输出前来等待服务的N位顾客的平均等待时间、最长等待时间、最后完成时间。 ##输入 输入第1 ...
分类:
其他好文 时间:
2020-10-19 22:49:09
阅读次数:
22
Settings-Editor-File and Code Templates,选择 Python Script """ @author:$ @Description:描述 @file:$.py @time:\({YEAR}/\)/$ """ if name == 'main': pass ...
分类:
其他好文 时间:
2020-10-19 22:47:19
阅读次数:
22
数据源配置: spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driverspring.datasource.one.url=jdbc:mysql://127.0.0.1:3306/111?useUnicode=true&character ...
分类:
编程语言 时间:
2020-10-19 22:37:22
阅读次数:
27
一,web_link()模拟点击超链接(get请求) 二,web_url()模拟请求网页(getq请求) 三,web_submite_form()POST请求,用于数据提交,form表单 四,web_submite_date()POST请求,用于数据提交 五,lr_think_time()等待时间 ...
分类:
其他好文 时间:
2020-10-19 22:27:38
阅读次数:
22
import turtle, datetime def drawGap(): turtle.up() turtle.fd(5) def drawLine(draw): drawGap() if(draw): turtle.down() else: turtle.up() turtle.fd(40) ...
分类:
其他好文 时间:
2020-10-19 22:15:04
阅读次数:
25