摘要:
一、Linux CMakeLists链接版本 官网下载Linux版本libtorch的时候会发现有(Pre-cxx11 ABI)和(cxx11 ABI)两个版本。 如果链接(cxx11 ABI)版本需要在CMakeLists.txt中加入 add_definitions(-D _GLIBCXX_US 阅读全文
posted @ 2021-11-17 16:39
半夜打老虎
阅读(5665)
评论(3)
推荐(1)
摘要:
文件内容 读取文件 先打开文件,按行读取 对每行数据按空格分割 格式转换 #include <iostream> #include <memory> #include <vector> #include <fstream> #include <sstream> void preprocess(std 阅读全文
posted @ 2021-11-17 11:26
半夜打老虎
阅读(682)
评论(0)
推荐(0)

浙公网安备 33010602011771号