This code counts the number of parameters of the famous NN GooLeNet using custom types to model convolution layers and fully connected layers, a function is created to simulate an inception module.