摘要:
Guide to Faster, Less Frustrating Debugging Guide to Faster, Less Frustrating Debugging Norman Matloff University of California at Davis (530) 752-195 阅读全文
摘要:
涉及内容: awk if for split print for嵌套 echo 's3://clearml-train-log/video4%2Fhuman_reid/distributed_qa2.7e24d4e98f764883a8e42cb3f362a19d/models' | awk '{l 阅读全文
摘要:
0x00 基础知识 Prior to the 5.0 release, CUDA did not support separate compilation, so CUDA code could not call device functions or access variables across 阅读全文
摘要:
bit operations /2, *2 odd or even 实现mod 当计算\(a \mod b\) 且 b是\(2^n\)时,可以直接使用\(a \& (b-1)\)来计算\(a \mod b\)。 原理为:$a \mod b \(是\)a/b$的余数。 因为\(b=2^n\),\( 阅读全文
摘要:
问题 类似,可以看到下面的这个问题 回答 总的来说,浮点数无法表示0.1。 这是因为,根据IEEE浮点数标准,float的尾数是23位,权分别为$2^{-1},2^{-2},...$。0.1 = 1/10 = 1/2 * 1/5 = 1 * %2^{-1}% * 1/5,而1/5无法直接找到对应的权 阅读全文
摘要:
pre 使用了opencv_contrib中的plot 模块,contrib的安装过程存在问题,如果不能解决,可以把plot.cpp/plot.h相关文件先编译一遍,之后再编译的时候带着obj。 需要一些基础的opencv配置知识,知道涉及到的模块该如何build,如何include step1 g 阅读全文
摘要:
https://docs.microsoft.com/en-us/cpp/preprocessor/hash-include-directive-c-cpp?redirectedfrom=MSDN&view=msvc-170 阅读全文
摘要:
安装总览:https://docs.opencv.org/4.x/d0/d3d/tutorial_general_install.html 配置总览:https://docs.opencv.org/4.x/db/d05/tutorial_config_reference.html linux安装教程 阅读全文
摘要:
官方文档在此:https://docs.python.org/zh-cn/3.6/library/typing.html 类型别名的作用就是可以定义自己想声明的类型。比如我把List[int]定义为vector_of_int,不过我觉得没啥用,又不能定义成vector 2. newtype 把一个类 阅读全文
摘要:
起因 邓俊辉的中序遍历二叉树采用了和前序遍历不同的循环检查方式,在前序遍历时使用stack非空检查,而在中序遍历时采用了while1检查。不便于迁移学习。 分析 视频地址: https://www.bilibili.com/video/BV1jt4y117KR?p=173 中序遍历时,根据规律每次进 阅读全文