前言 在上一篇blog里,ATP分析了TransCoder模型最顶层的main函数,理清了它的训练过程是怎么循环的。 这次ATP本来想要看一下它的模型具体是什么样子的。但ATP发现,pretrain过程(只有encoder)和后续的过程(同时有encoder和decoder)它模型的结构与训练过程还 ...
分类:
其他好文 时间:
2020-08-04 14:08:20
阅读次数:
107
Kabaleo Lite 用带负数的大整数用__int128 #include <bits/stdc++.h> #define ll long long using namespace std; const int MAXN=200050,INF=0x3fffffff; ll n,a[MAXN],b ...
分类:
其他好文 时间:
2020-08-04 11:25:20
阅读次数:
327
简单函数CASE [col_name] WHEN [value1] THEN [result1]…ELSE [default] END new_col_name -- 枚举 select t_name, case t_name when '张三' then '严肃' when '李四' then ' ...
分类:
数据库 时间:
2020-08-04 09:54:24
阅读次数:
83
select的作用 Go里面提供了一个关键字 select, 通过 select 可以监听channel上的数据流动. select 的用法与 switch 语言非常类似, 由 select 开始一个新的选择块, 每个选择条件由 case 语句来描述. 与 switch 语句相比, select 有 ...
分类:
其他好文 时间:
2020-08-04 09:47:11
阅读次数:
67
使用Java8或更高版本,使用stream().filter()来过滤一个List对象,查找符合条件的对象集合。 ...
分类:
编程语言 时间:
2020-08-03 23:31:10
阅读次数:
186
#O365的隔离报告https://protection.office.com/quarantine可以在365的网址上拿到,但是却无法导出,以下脚本可以将隔离的邮件导出,并使用while循环解决单条命令的1000个数据的限制#O365‘squarantinereporthttps://protection.office.com/quarantinecanbeobtainedonthe36
分类:
系统相关 时间:
2020-08-03 18:41:58
阅读次数:
82
FileInfo 使用FileInfo类的对象进行文件进行外部操作: FileInfo file = new FileInfo(@".\..\..\lzx.txt"); if (file.Exists) { Console.WriteLine("lzx.txt存在"); //file.Delete( ...
一:解题思路 二:完整代码示例 (C++版和Java版) C++代码: #include <iostream> #include <string> using namespace std; int main() { string s = ""; int n = 0; while (cin >> s ...
分类:
其他好文 时间:
2020-08-03 13:30:56
阅读次数:
76