摘要: 例子:在当前目录下的文件内查找test字符串 阅读全文
posted @ 2019-04-22 20:58 JohnRed 阅读(10974) 评论(0) 推荐(0)
摘要: 建立build文件夹 在build文件夹中建立run.sh文件 run.sh文件内容如下: 阅读全文
posted @ 2019-04-22 17:47 JohnRed 阅读(366) 评论(0) 推荐(0)
摘要: std::vector vsoftmax(std::vector &v) { double sum=0; for(auto iter:v) { sum+=exp(iter); } std::vector res; for(int i=0;i 阅读全文
posted @ 2019-04-22 11:27 JohnRed 阅读(139) 评论(0) 推荐(0)
摘要: ``` #include //math.h ``` ``` double sigmod(double x) { return 1/(1+exp(-x)); } ``` 阅读全文
posted @ 2019-04-22 11:25 JohnRed 阅读(254) 评论(0) 推荐(0)