MATLAB: Is fully connected layers quantization supported by Deep Network Quantizer

Deep Learning Toolboxdeep network quantizerMATLAB

Hi!
I try to use the deep network quantization feature. I've installed Deep Learning Toolbox Model Quantization Library and everything else needed for quantization to work with GPU, and it works. But I've noticed a strange thing: fully connected layers are never quantized! Convolutional – yes, but not fc. They are always marked with "This layer cannot be quantized" message.
Here is an example with the network for digits classification from matlab documentation:
The fc layer checkbox is grayed out 🙁 The same situation happens with any other network with fc that I've tried.
Are fc layers are not supported by Deep Network Quantizer?

Best Answer

Answering the question myself: Yes, fc layers are currently not supported, and it is written at the top of the Deep Network Quantizer description: "Use the Deep Network Quantizer app to reduce the memory requirement of a deep neural network by quantizing weights, biases, and activations of convolution layers to 8-bit scaled integer data types."
But! You can replace fc layer with a conv layer with filters' size equal to prev layer output dims, so they will only be applied once.