上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: https://www.bilibili.com/video/BV1A7411u7zh?p=4&vd_source=db1f7cb82e86cfc9050cdc20ec10c8ab 前置知识 one-hot SVD(Singular Value Decomposition) 奇异值分解 Distri 阅读全文
posted @ 2022-10-10 18:32 种树人 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 1、C++中vector作为参数的三种传参方式(传值 && 传引用 && 传指针) https://blog.csdn.net/weixin_47641702/article/details/113522865 c++中常用的vector容器作为参数时,有三种传参方式,分别如下: function1 阅读全文
posted @ 2022-09-26 23:50 种树人 阅读(64) 评论(0) 推荐(0) 编辑
摘要: - 如果说你是一个聪明人,你认为你聪明在什么地方?理由是什么? 你的实习/项目/paper中,难点在哪里,为什么困难?你是如何解决的? 你迄今为止觉得自己最牛逼,最得意的一件事是什么? 你觉得工作的意义是什么,你期望中理想的工作是什么样的? 请你的面试官从工作角度(而不是朋友角度)审视你的回答。 请 阅读全文
posted @ 2022-09-25 20:17 种树人 阅读(43) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_51825761/article/details/125586439 /** 当数组不是全局变量时: 如果数组大小是变量(包括比如获取某个vector的size),则数组初始化为0时,元素的值也许不是0; 如果数组大小是常量,则数组初始化为0时,元素 阅读全文
posted @ 2022-09-18 16:21 种树人 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 定时清理QQ空间备份文件夹 https://www.zhihu.com/question/443757160/answer/2581343065 @echo off :: 下面的路径不要弄错,弄错则无法删除 set pathfile=这里填写你的词库路径 :: 比如我的路径是C:\Users\All 阅读全文
posted @ 2022-08-06 16:28 种树人 阅读(42) 评论(0) 推荐(0) 编辑
摘要: void swap(int *a, int *b) { *a = (*a&~*b)|(*b&~*a); cout << *a << " " << *b <<endl; *b = (*a&~*b)|(*b&~*a); cout << *a << " " << *b <<endl; *a = (*a&~ 阅读全文
posted @ 2022-08-05 01:08 种树人 阅读(73) 评论(0) 推荐(0) 编辑
摘要: py2.7.18 安装tensorflow 1.13.2时候 报错 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/6c/be/4e32d02bf08b8f76bf6e59f2a531690c1e4264530404501f3489ca9 阅读全文
posted @ 2022-07-28 22:09 种树人 阅读(262) 评论(0) 推荐(0) 编辑
摘要: This means that you can use the nested type's class as if it was the nested class Foo::Bar. However, note that C++ does not allow nested types to be f 阅读全文
posted @ 2022-06-06 21:52 种树人 阅读(60) 评论(0) 推荐(0) 编辑
摘要: C++ vector 的size函数返回vector大小,返回值类型为unsigned int型,unsigned int的取值范围为0~2^32 -1。 vector A={}; 当容器A为空时,如果直接使用A.size()-1的话,会直接造成溢出,得到的结果并不是-1,而是一个很大的数。 所以为 阅读全文
posted @ 2022-05-27 11:53 种树人 阅读(533) 评论(0) 推荐(0) 编辑
摘要: https://www.programminghunter.com/article/4569180387/ 在C中当创建一个空类时,C就会默认的为这个类创建4个函数:默认的构造函数、析构函数、拷贝构造函数、以及赋值操作符。本文参考Effective C++介绍这几个函数。 1.函数的原型以及函数创建 阅读全文
posted @ 2022-04-14 11:25 种树人 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 有时候函数的返回类型的选择可以提高程序运行的效率,减少不必要的开销,有时候可能导致程序崩溃,一发不可收拾,下面介绍几种常见的函数返回类型(注意不是返回值类型) https://zhuanlan.zhihu.com/p/51182827 https://blog.csdn.net/weixin_405 阅读全文
posted @ 2022-04-03 18:41 种树人 阅读(120) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/xuanbjut/p/13391578.html CPU 相关监控项 us:用户空间占用CPU百分比(Host.cpu.user) sy:内核空间占用CPU百分比(Host.cpu.system) ni:用户进程空间内改变过优先级的进程占用CPU百分比 阅读全文
posted @ 2022-03-22 20:58 种树人 阅读(138) 评论(0) 推荐(0) 编辑
摘要: Why You Should Use Cross-Entropy Error Instead Of Classification Error Or Mean Squared Error For Neural Network Classifier Training https://jamesmccaf 阅读全文
posted @ 2022-03-22 20:47 种树人 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 换构造函数(conversion constructor function) 的作用是将一个其他类型的数据转换成一个类的对象。 当一个构造函数只有一个参数,而且该参数又不是本类的const引用时,这种构造函数称为转换构造函数。 转换构造函数是对构造函数的重载。 参考链接1 参考链接2 struct 阅读全文
posted @ 2021-12-04 17:36 种树人 阅读(148) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> using namespace std; class Test { public: Test() { } Test(int) { } void fun() { } }; int main(void) { Test a(10); // 语句1 a.fun(); 阅读全文
posted @ 2021-12-04 16:08 种树人 阅读(144) 评论(0) 推荐(0) 编辑
摘要: https://www.ruanyifeng.com/blog/2019/10/tmux.html 第一个启动的 Tmux 窗口,编号是0,第二个窗口的编号是1,以此类推。这些窗口对应的会话,就是 0 号会话、1 号会话。 使用编号区分会话,不太直观,更好的方法是为会话起名。 $ tmux new 阅读全文
posted @ 2021-11-09 14:27 种树人 阅读(124) 评论(0) 推荐(0) 编辑
摘要: git篇 将本地文件夹上传到远程仓库,并新建分支 转自https://blog.csdn.net/qq_35531985/article/details/107667639 1、首先在你要上传的本地文件夹内,右击鼠标,git bash here 2、初始化本地仓库 git init 3、将文件夹中代 阅读全文
posted @ 2021-11-06 15:15 种树人 阅读(33) 评论(0) 推荐(0) 编辑
摘要: ###参考 http://www.elecfans.com/d/779631.html https://blog.csdn.net/ashome123/article/details/117110042 import torch from torch import einsum a = torch. 阅读全文
posted @ 2021-10-26 17:31 种树人 阅读(268) 评论(0) 推荐(0) 编辑
摘要: ###第三章 RDD编程 ####P35 fold函数的一个小问题记录一下 scala> val linesa = sc.parallelize(List(1,2,3,4)) linesa: org.apache.spark.rdd.RDD[Int] = ParallelCollectionRDD[ 阅读全文
posted @ 2021-10-16 14:13 种树人 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 来自菜鸟教程 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apach 阅读全文
posted @ 2021-10-14 19:52 种树人 阅读(76) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页