Concept

Network in Network (NiN) Architecture

The Network in Network (NiN) architecture introduces the concept of applying a fully connected layer at each individual pixel location (height and width) of a feature map. Convolutional layers output four-dimensional tensors corresponding to the example, channel, height, and width, whereas traditional fully connected layers expect two-dimensional tensors corresponding to the example and feature. To bridge this gap without flattening the spatial dimensions prematurely, NiN utilizes 1imes11 imes 1 convolutions. A 1imes11 imes 1 convolution effectively acts as a fully connected layer operating independently on each pixel's channels across the spatial grid.

0

1

Updated 2026-05-13

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L

Learn After