摘要: how to cook https://github.com/Anduin2017/HowToCook/tree/master 阅读全文
posted @ 2025-02-10 19:39 michaelchengjl 阅读(19) 评论(0) 推荐(0)
摘要: Python3-进阶-itertools模块 https://docs.python.org/zh-cn/3.13/library/itertools.html https://cloud.tencent.com/developer/article/2442698 https://wklken.me 阅读全文
posted @ 2025-07-08 13:54 michaelchengjl 阅读(2) 评论(0) 推荐(0)
摘要: LLM 配置修改 https://huggingface.co/voidful/gemma-3-omni-4b-it/commit/1c3ed14826b6c0caf81845cd827744a1ae10d6b7 https://huggingface.co/api/resolve-cache/mo 阅读全文
posted @ 2025-07-07 10:25 michaelchengjl 阅读(3) 评论(0) 推荐(0)
摘要: dataclasses 数据类 https://docs.python.org/zh-cn/dev/library/dataclasses.html https://www.cnblogs.com/wang_yb/p/18077397 https://www.cnblogs.com/ajianbey 阅读全文
posted @ 2025-07-05 21:16 michaelchengjl 阅读(3) 评论(0) 推荐(0)
摘要: 模型修改与可视化 https://datawhalechina.github.io/thorough-pytorch/第七章/7.1 可视化网络结构.html https://zhuanlan.zhihu.com/p/362985275 https://dl.ypw.io/visualize-pyt 阅读全文
posted @ 2025-07-03 19:47 michaelchengjl 阅读(2) 评论(0) 推荐(0)
摘要: float16与float32的计算方式 https://blog.csdn.net/chen1234520nnn/article/details/120846619 阅读全文
posted @ 2025-06-26 19:31 michaelchengjl 阅读(10) 评论(0) 推荐(0)
摘要: ONNX前向inference调试 ONNX作为一个方便在各大主流深度学习框架中迁移转换的中间表达式,在工业界使用越加频繁。关于ONNXgithub上有部分相关文档参考链接https://github.com/onnx/onnx,对相关接口的详细说明尚且不够。本文针对onnx的前向过程说明下常见的调 阅读全文
posted @ 2025-06-26 19:25 michaelchengjl 阅读(8) 评论(0) 推荐(0)
摘要: tf.one_hot()函数简介 tf.one_hot()函数是将input转化为one-hot类型数据输出,相当于将多个数值联合放在一起作为多个相同类型的向量,可用于表示各自的概率分布,通常用于分类任务中作为最后的FC层的输出,有时翻译成“独热”编码。 tensorflow的help中相关说明如下 阅读全文
posted @ 2025-06-26 19:15 michaelchengjl 阅读(8) 评论(0) 推荐(0)
摘要: python3 读写大文件 import os file_path = "/home/Qwen3-Embedding-0.6B_external.mlir" from functools import partial, wraps from typing import TextIO, Callabl 阅读全文
posted @ 2025-06-11 15:04 michaelchengjl 阅读(3) 评论(0) 推荐(0)
摘要: MLIR Affine Dialect https://mlir.llvm.org/docs/Dialects/Affine/ https://discourse.llvm.org/t/about-mlir-polyhedral-optimization/1268/9 https://discour 阅读全文
posted @ 2025-05-26 16:46 michaelchengjl 阅读(5) 评论(0) 推荐(0)
摘要: 通用的bazel workspace 模板 以下是一个通用的 Bazel Workspace 模板,支持 C++/Python 混合项目、多平台构建、外部依赖管理和单元测试,适用于现代 C++(17/20)和 Python 3 项目: WORKSPACE 文件: # WORKSPACE 文件(项目根 阅读全文
posted @ 2025-05-09 19:47 michaelchengjl 阅读(22) 评论(0) 推荐(0)