持之以恒

导航

2021年9月27日 #

慎重在linux平台上使用c++中调用system API

摘要: the SIG_IGN for SIGCHLD will impect system function SIGINT:ctrl+c 终止信号 SIGQUIT:ctrl+\ 退出信号 SIGSTOP:ctrl+z 暂停信号 SIGSCONT:ctrl+z 继续信号 SIGALRM:闹钟信号 收到此信号 阅读全文

posted @ 2021-09-27 22:40 beilei 阅读(208) 评论(0) 推荐(0) 编辑

pytorh API

摘要: https://pytorch.org/docs/master/jit.html https://pytorch.org/tutorials/ torch.cat python In [8]: import torch ...: A=torch.ones(2,3) #2x3的张量(矩阵) ...: 阅读全文

posted @ 2021-09-27 22:21 beilei 阅读(25) 评论(0) 推荐(0) 编辑