https://www.mathworks.com/matlabcentral/answers/575566-internal-error-in-deep-neural-network-quantification?s_tid=srchtitle