convolutional neural networks listing - defining the cnn #define convolutional network class convnet(nn module)def __init__(selfnum_classes= )super(convnetself__init__(#first unit of convolution self conv_unit_ nn sequentialnn conv ( kernel_size= stride= padding= )nn relu()nn maxpool (kernel_size= stride= )# #second unit of convolution self conv_unit_ nn sequentialnn conv ( kernel_size= stride= padding= )nn relu()nn maxpool (kernel_size= stride= )# #third unit of convolution self conv_unit_ nn sequentialnn conv ( kernel_size= stride= padding= )nn relu()nn maxpool (kernel_size= stride= )# #fourth unit of convolution self conv_unit_ nn sequentialnn conv ( kernel_size= stride= padding= )nn relu()nn maxpool (kernel_size= stride= )# #fully connected layers self fc nn linear( * * self fc nn linear( self final nn sigmoid(