V2EX  ›  英汉词典
Enqueued related words: Int32, Int64, Dtype

Int8

定义 Definition

int8 指一种8 位有符号整数数据类型,通常占用 1 个字节,常见取值范围为 -128 到 127。在编程语言、数值计算(如 NumPy/pandas)与机器学习推理(量化)中常用。(不同语言/库中也可能写作 int8_ti8 等。)

发音 Pronunciation (IPA)

/ˌɪnt ˈeɪt/

例句 Examples

I stored the value as int8 to save memory.
我把这个值存成 int8 来节省内存。

To speed up inference on edge devices, the model was quantized from float32 to int8, trading a little accuracy for much smaller size and faster computation.
为了加速边缘设备上的推理,模型从 float32 量化到 int8,用少量精度损失换来更小体积和更快计算。

词源 Etymology

int8 来自 int(integer,整数的缩写)+ 8(位宽为 8 bit)。它最初广泛用于系统/底层编程中表达“固定宽度整数”,后来在数据科学与深度学习量化中也非常常见。

相关词 Related Words

文学与著名作品 Literary & Notable Works

  • NumPy User Guide(介绍 dtype=int8 等数组数据类型)
  • Python for Data Analysis(Wes McKinney,讨论 pandas/NumPy 中的 int8 类型与内存优化)
  • CUDA C++ Programming Guide(涉及 int8/8-bit 数据在 GPU 计算与加速中的使用)
  • TensorRT Developer Guide(常见 INT8 量化推理与加速场景)
  • The C Programming Language(相关概念为整数类型;固定宽度常以 int8_t(C99 头文件)形式出现)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1629 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 00:29 · PVG 08:29 · LAX 16:29 · JFK 19:29
♥ Do have faith in what you're doing.