feat: 完整中文翻译 maths-cs-ai-compendium(数学·计算机科学·AI 知识大全)
翻译自英文原版 maths-cs-ai-compendium,共 20 章全部完成。 第01章 向量 | 第02章 矩阵 | 第03章 微积分 第04章 统计学 | 第05章 概率论 | 第06章 机器学习 第07章 计算语言学 | 第08章 计算机视觉 | 第09章 音频与语音 第10章 多模态学习 | 第11章 自主系统 | 第12章 图神经网络 第13章 计算与操作系统 | 第14章 数据结构与算法 第15章 生产级软件工程 | 第16章 SIMD与GPU编程 第17章 AI推理 | 第18章 ML系统设计 第19章 应用人工智能 | 第20章 前沿人工智能 翻译说明: - 所有数学公式 $...$ / $$...$$、代码块、图片引用完整保留 - mkdocs.yml 配置中文导航 + language: zh - README.md 已翻译为中文(兼 docs/index.md) - docs/ 目录包含指向各章文件的 symlink - 约 29,000 行中文内容,排除 .cache/ 构建缓存
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 180" width="700" height="180">
|
||||
<text x="350" y="22" text-anchor="middle" font-family="Arial, sans-serif" font-size="14" font-weight="bold" fill="#333">IEEE 754 Float32 Bit Layout</text>
|
||||
|
||||
<!-- Bit field boxes -->
|
||||
<!-- Sign (1 bit) -->
|
||||
<rect x="40" y="50" width="40" height="45" rx="4" fill="#e74c3c" fill-opacity="0.2" stroke="#e74c3c" stroke-width="2"/>
|
||||
<text x="60" y="78" text-anchor="middle" font-family="Arial, sans-serif" font-size="11" font-weight="bold" fill="#e74c3c">S</text>
|
||||
<text x="60" y="110" text-anchor="middle" font-family="Arial, sans-serif" font-size="9" fill="#e74c3c">1 bit</text>
|
||||
<text x="60" y="124" text-anchor="middle" font-family="Arial, sans-serif" font-size="8" fill="#e74c3c">sign</text>
|
||||
|
||||
<!-- Exponent (8 bits) -->
|
||||
<rect x="85" y="50" width="200" height="45" rx="4" fill="#3498db" fill-opacity="0.2" stroke="#3498db" stroke-width="2"/>
|
||||
<text x="185" y="78" text-anchor="middle" font-family="Arial, sans-serif" font-size="11" font-weight="bold" fill="#3498db">Exponent</text>
|
||||
<text x="185" y="110" text-anchor="middle" font-family="Arial, sans-serif" font-size="9" fill="#3498db">8 bits</text>
|
||||
<text x="185" y="124" text-anchor="middle" font-family="Arial, sans-serif" font-size="8" fill="#3498db">biased by 127</text>
|
||||
|
||||
<!-- Mantissa (23 bits) -->
|
||||
<rect x="290" y="50" width="370" height="45" rx="4" fill="#27ae60" fill-opacity="0.2" stroke="#27ae60" stroke-width="2"/>
|
||||
<text x="475" y="78" text-anchor="middle" font-family="Arial, sans-serif" font-size="11" font-weight="bold" fill="#27ae60">Mantissa (fraction)</text>
|
||||
<text x="475" y="110" text-anchor="middle" font-family="Arial, sans-serif" font-size="9" fill="#27ae60">23 bits</text>
|
||||
<text x="475" y="124" text-anchor="middle" font-family="Arial, sans-serif" font-size="8" fill="#27ae60">implicit leading 1</text>
|
||||
|
||||
<!-- Bit positions -->
|
||||
<text x="40" y="46" text-anchor="middle" font-family="Arial, sans-serif" font-size="8" fill="#999">31</text>
|
||||
<text x="85" y="46" text-anchor="middle" font-family="Arial, sans-serif" font-size="8" fill="#999">30</text>
|
||||
<text x="285" y="46" text-anchor="middle" font-family="Arial, sans-serif" font-size="8" fill="#999">23</text>
|
||||
<text x="290" y="46" text-anchor="middle" font-family="Arial, sans-serif" font-size="8" fill="#999">22</text>
|
||||
<text x="660" y="46" text-anchor="middle" font-family="Arial, sans-serif" font-size="8" fill="#999">0</text>
|
||||
|
||||
<!-- Formula -->
|
||||
<text x="350" y="155" text-anchor="middle" font-family="Arial, sans-serif" font-size="12" font-weight="bold" fill="#333">value = (−1)^S × 1.mantissa × 2^(exponent − 127)</text>
|
||||
|
||||
<!-- Variants -->
|
||||
<text x="350" y="175" text-anchor="middle" font-family="Arial, sans-serif" font-size="9" fill="#666">float16: 1+5+10 = 16 bits | bfloat16: 1+8+7 = 16 bits | float64: 1+11+52 = 64 bits</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
Reference in New Issue
Block a user