TS2Vec: Towards Universal Representation of Time Series
摘要 这篇论文介绍了TS2Vec,这是一个用于在任意语义级别上学习时间序列表示的通用框架。与现有方法不同,TS2Vec以层次化方式在增强的上下文视图上执行对比学习,从而为每个时间戳提…
与普通函数区别:1.多了个template<class T>;2.某些确定类型变不确定类型T
一:引子:
#include<iostream>
using namespace std;
template<typename T>
T Max(T a, T b)
{return a > b ? a : b;
}
int main()
{int x, …