摘要:
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
阅读(3)
评论(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
阅读(4)
评论(0)
推荐(0)
摘要:
C/C++ 实现内存映射 权重采用内存映射方式加载,避免了大规模内存拷贝,特别适合大模型部署。 在C语言中实现内存映射主要使用mmap()系统调用。以下是一个完整的示例,展示如何使用内存映射进行文件读写: 完整的内存映射工具函数 #include <stdio.h> #include <stdlib 阅读全文
posted @ 2025-12-10 10:10
michaelchengjl
阅读(26)
评论(0)
推荐(0)

浙公网安备 33010602011771号