The two scenarios when fully connected layers are equivalent to convolutional networks.

PyTorch-based code illustration here: https://github.com/rasbt/MachineLearning-QandAI-book/blob/main/supplementary/q12-fc-cnn-equivalence/q12-fc-cnn-equivalence.ipynb

#ai #python #deeplearning

MachineLearning-QandAI-book/q12-fc-cnn-equivalence.ipynb at main · rasbt/MachineLearning-QandAI-book

Machine Learning Q and AI book. Contribute to rasbt/MachineLearning-QandAI-book development by creating an account on GitHub.

GitHub