Implement int8 symmetric per-channel weight quantization and dequantization for a linear l

Inference & Serving2 / 5

Chapter 242 / 5

Inference & Serving

Implement int8 symmetric per-channel weight quantization and dequantization for a linear l

Medium

Implement int8 symmetric per-channel weight quantization and dequantization for a linear layer.

Target interface
quantize_per_channel(W)

Implement the function/class skeleton in the editor. Any correct approach is accepted.

Hints0 / 2
Reference solution
Your own code stays in the editor.