分类 其它 下的文章
- 首页
- 其它
Python3 flags
https://pasteme.cn/5872# main.py from absl import app, flags FLAGS = flags.FLAGS flags.DEFINE_string('test', None, 'comma separated list of GPU(s) to use.') def main(argv): del argv i...
std::for_each、std::mem_fn 备忘
#include <iostream> #include <thread> #include <vector> #include <algorithm> #include <functional> int main() { std::vector<std::thread> threads; for (i...