1.背景 通过JavaNio实现一个简单的网络模块,有点像Netty的线程模型,一个线程(AcceptThread)建立新连接,把新连接绑定到某个SelectorThread,SelectorThread处理读/写。 AcceptThread:拥有一个Selector,上面只注册了一个ServerS ...
分类:
编程语言 时间:
2019-12-24 18:53:27
阅读次数:
84
该博客首发于www.litreily.top Pug – robust, elegant, feature rich template engine for Node.js pug原名jade,因版权问题更名为pug,即哈巴狗。与hexo默认模块ejs一样,pug也是一个模板引擎,可用于快速的网站开 ...
分类:
Web程序 时间:
2019-12-24 09:36:09
阅读次数:
116
sklearn.model_selection.train_test_split 用法在使用python做机械学习时候,为了制作训练数据(training samples)和测试数据(testing samples),常使用sklearn里面的sklearn.model_selection.trai ...
分类:
其他好文 时间:
2019-12-22 10:24:19
阅读次数:
59
1 /* TODO: Add your application code here */ 2 /* 3 此程序主要演示的是name_switch (设置名称显示) 4 */ 5 UF_initialize(); 6 7 //MODL_create_block1 8 UF_FEATURE_SIGN s ...
分类:
其他好文 时间:
2019-12-21 13:44:09
阅读次数:
77
链接: https://codeforces.com/contest/1278/problem/A 题意: Polycarp has built his own web service. Being a modern web service it includes login feature. An ...
分类:
其他好文 时间:
2019-12-21 11:51:24
阅读次数:
180
1 //设置class_dialog选择过滤 2 static int init_proc(UF_UI_selection_p_t select,void* user_data) 3 { 4 //过滤类别的个数 5 int num_triples = 1; 6 //曲线 7 UF_UI_mask_t ...
分类:
其他好文 时间:
2019-12-21 11:45:36
阅读次数:
109
原文:2019-11-29-win10-UWP-Controls-by-function title author date CreateTime categories win10 UWP Controls by function lindexi 2019-11-... ...
设计的CNN模型包括一个输入层,输入的是MNIST数据集中28*28*1的灰度图 两个卷积层, 第一层卷积层使用6个3*3的kernel进行filter,步长为1,填充1.这样得到的尺寸是(28+1*2-3)/1+1=28,即6个28*28的feature map 在后面进行池化,尺寸变为14*14 ...
分类:
其他好文 时间:
2019-12-20 15:13:36
阅读次数:
220
Cardiff School of Computer Science and InformaticsCoursework Assessment Pro-formaModule Code: CMT307Module Title: Applied Machine LearningAssessment T ...
分类:
移动开发 时间:
2019-12-19 13:00:29
阅读次数:
89
问题描述 提供中文版本好评,一直以为 Rin 是题目名字... "pdf" "submit" 题解 参考了 东营市胜利第一中学姜志豪 的《网络流的一些建模方法》(2016年信息学奥林匹克中国国家队候选队员论文) 读了之后很有感触,这里节选一段话: 最小割模型的本质是将点的集合 $V$ 划分为两个点集 ...
分类:
其他好文 时间:
2019-12-18 00:10:57
阅读次数:
95