rockpool.transform.quantize_methods

Quantisation methods for Xylo

Defines the post-training quasntization methods global_quantize() and channel_quantize().

Functions

channel_quantize(weights_in, weights_rec, ...)

Quantize a Xylo model for deployment, using per-channel parameter scaling

global_quantize(weights_in, weights_rec, ...)

Quantize a Xylo model for deployment, using global parameter scaling

validate_weights_to_2d(data)

validate_weights_to_3d(data)