摘要: how to cook https://github.com/Anduin2017/HowToCook/tree/master 阅读全文
posted @ 2025-02-10 19:39 michaelchengjl 阅读(102) 评论(0) 推荐(0)
摘要: Pytorch NCHW/NHWC 理解 https://zhuanlan.zhihu.com/p/556222920 阅读全文
posted @ 2026-07-24 10:58 michaelchengjl 阅读(3) 评论(0) 推荐(0)
摘要: 高性能的 Python 代码格式化工具 Ruff Ruff 工具详解 1. Ruff 是什么 Ruff 是一个面向 Python 生态的高性能代码质量工具,由 Rust 编写。它的核心目标是用极快的速度提供 Python 静态检查、代码格式 化以及部分自动修复能力,从而替代或整合多个传统工具的职责。 阅读全文
posted @ 2026-06-11 14:42 michaelchengjl 阅读(98) 评论(0) 推荐(0)
摘要: 国内使用Codex & Codex CLI https://www.runoob.com/codex/codex-agent-skills.html https://javaguide.cn/ai-coding/practices/codex-best-practices.html#安全边界 htt 阅读全文
posted @ 2026-05-25 11:14 michaelchengjl 阅读(25) 评论(0) 推荐(0)
摘要: FlashAttention-3 vs 朴素(基础)Attention:推理场景详细对比(FA3) 讨论对象:FlashAttention-3(FA3)推理 与 基础 scaled dot-product attention(SDPA / naive attention)推理 结论概览:两者在数学定 阅读全文
posted @ 2026-03-02 17:03 michaelchengjl 阅读(131) 评论(0) 推荐(0)
摘要: wsl 网络相关问题 https://learn.microsoft.com/zh-cn/windows/wsl/networking https://gist.github.com/libChan/3a804a46b532cc326a2ee55b27e8ac19?permalink_comment 阅读全文
posted @ 2026-02-24 17:06 michaelchengjl 阅读(12) 评论(0) 推荐(0)
摘要: 基于LLVM的riscv裸机工具链编译 https://blog.csdn.net/2301_80102764/article/details/152815239 https://blog.csdn.net/amy_mhd/article/details/151029722 https://hwco 阅读全文
posted @ 2025-12-24 15:12 michaelchengjl 阅读(14) 评论(0) 推荐(0)
摘要: python3 globals() 函数 globals().items() 是 Python 中一个非常有用的内置函数组合,用于获取当前全局命名空间中的所有变量和它们的值。 基本用法 # 定义一些全局变量 x = 10 y = "hello" z = [1, 2, 3] def my_func() 阅读全文
posted @ 2025-12-12 17:26 michaelchengjl 阅读(36) 评论(0) 推荐(0)
摘要: NumPy memmap 内存映射 使用详解 一、memmap 核心概念 1.1 什么是内存映射文件? 内存映射文件将磁盘文件直接映射到进程的虚拟内存空间,使得文件可以像内存数组一样被访问。 1.2 工作原理 磁盘文件 ↔ 虚拟内存 ↔ 程序访问 ↑ ↑ --物理磁盘 物理内存(按需加载) 二、创建 阅读全文
posted @ 2025-12-12 15:55 michaelchengjl 阅读(417) 评论(0) 推荐(0)
摘要: python3 argparse 参数解析模块 https://docs.python.org/zh-cn/3.11/library/argparse.html https://blog.csdn.net/qq_46450354/article/details/126805457 https://b 阅读全文
posted @ 2025-12-10 16:04 michaelchengjl 阅读(10) 评论(0) 推荐(0)
摘要: Python中struct.pack()和struct.unpack()用法 https://docs.python.org/zh-cn/3/library/struct.html https://cloud.tencent.com/developer/article/1406350 https:/ 阅读全文
posted @ 2025-12-10 15:29 michaelchengjl 阅读(30) 评论(0) 推荐(0)