module
dynamic
6 memberslucid.nn.quantized.dynamiclucid.nn.quantized.dynamic — dynamically quantized modules.
Weights are quantized to int8 ahead of time; activations are quantized
per-forward from their observed range (no calibration data needed). This
is the go-to for Linear-heavy / Transformer inference, produced by
lucid.quantization.quantize_dynamic.
Classes
class
Linear4 methodsint8-weight linear with per-forward dynamic activation quantization.
class
GRU3 methodsint8-weight GRU built from a float lucid.nn.GRU.
class
LSTM3 methodsint8-weight LSTM built from a float lucid.nn.LSTM.
class
GRUCell3 methodsint8-weight GRU cell built from a float lucid.nn.GRUCell.
class
LSTMCell3 methodsint8-weight LSTM cell built from a float lucid.nn.LSTMCell.
class
RNNCell3 methodsint8-weight Elman cell built from a float lucid.nn.RNNCell.