上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 43 下一页
摘要: C++ STL https://github.com/AhmedMohamedAbdelaty/CPP-STL-beginners-guide?tab=readme-ov-file https://github.com/JayantGoel001/STL/tree/master https://gi 阅读全文
posted @ 2025-03-12 18:54 michaelchengjl 阅读(9) 评论(0) 推荐(0)
摘要: mlir 基本操作 在 MLIR 中,mlir::Operation 类提供了丰富的方法,用于操作和分析 IR 中的操作(Operation)。以下是 mlir::Operation 的常用方法及其功能的详细说明: MLIR Operation API 参考 1. 官方文档 MLIR 官方文档 ML 阅读全文
posted @ 2025-03-12 11:45 michaelchengjl 阅读(267) 评论(0) 推荐(0)
摘要: C++ 中 malloc/free 与 new/delete 的区别 1. 基本概念 malloc/free:C/C++ 标准库函数,用于动态内存的申请和释放。 new/delete:C++ 运算符,用于动态内存的申请和释放,同时支持对象的构造和析构。 2. 功能差异 malloc/free: 仅负 阅读全文
posted @ 2025-03-05 18:54 michaelchengjl 阅读(99) 评论(0) 推荐(0)
摘要: xtensor 实现 expand #include <xtensor/xarray.hpp> #include <xtensor/xbroadcast.hpp> #include <xtensor/xio.hpp> #include <xtensor/xview.hpp> int main() { 阅读全文
posted @ 2025-03-03 10:35 michaelchengjl 阅读(34) 评论(0) 推荐(0)
摘要: torch-mlir, stablehlo https://github.com/llvm/torch-mlir/tree/main https://github.com/openxla/stablehlo https://openxla.org/stablehlo?hl=zh-cn https:/ 阅读全文
posted @ 2025-02-25 14:40 michaelchengjl 阅读(76) 评论(0) 推荐(0)
摘要: conv2d 在pytorch ,tf中数据格式 pytorch data type is "NCHW" but tensorflow data type is "NHWC", when pytorch to onnx, and onnx to tensorflow how this diff pr 阅读全文
posted @ 2025-02-12 11:19 michaelchengjl 阅读(27) 评论(0) 推荐(0)
摘要: python 发短信 https://www.cnblogs.com/shiwanghualuo/p/12806507.html https://cloud.tencent.com/developer/article/1661500 https://support.i-search.com.cn/a 阅读全文
posted @ 2025-02-11 10:28 michaelchengjl 阅读(14) 评论(0) 推荐(0)
摘要: how to cook https://github.com/Anduin2017/HowToCook/tree/master 阅读全文
posted @ 2025-02-10 19:39 michaelchengjl 阅读(33) 评论(0) 推荐(0)
摘要: C++ 智能指针 auto_ptr, shared_ptr, weak_ptr, unique_ptr 其中后三个是c++11支持,并且第一个已经被c++11弃用。所以我只说后3个。 C++ 标准库智能指针 使用这些智能指针作为将指针封装为纯旧 C++ 对象 (POCO) 的首选项。 unique_ 阅读全文
posted @ 2025-02-09 21:57 michaelchengjl 阅读(28) 评论(0) 推荐(0)
摘要: C++中的类型转换 转化类型 定义 使用场景 特点 static_cast static_cast用于非多态类型的转换(静态转换),编译器隐式执行的任何类型转换都可用static_cast,但它不能用于两个不相关的类型进行转换 用于类层次结构中基类和派生类之间指针或引用的转换。注意: 上行转换(派生 阅读全文
posted @ 2025-02-09 21:55 michaelchengjl 阅读(20) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 43 下一页