(self, num_classes: int, vocab: Vocab)
Instantiating SenCNN class

        Args:
            num_classes (int): the number of classes
            vocab (model.utils.Vocab): the instance of model.utils.Vocab
Instantiating SenCNN class
Instantiating SenCNN class
def __init__(self, num_classes: int, vocab: Vocab) -> None:
        """Instantiating SenCNN class

        Args:
            num_classes (int): the number of classes
            vocab (model.utils.Vocab): the instance of model.utils.Vocab
        """
        super(SenCNN, self).__init__()
        self._embedding = MultiChannelEmbedding(vocab)
        self._convolution = ConvolutionLayer(300, 300)
        self._pooling = MaxOverTimePooling()
        self._dropout = nn.Dropout()
        self._fc = nn.Linear(300, num_classes)
def __init__ ( self , num_classes : int , vocab : Vocab ) -> None : super ( SenCNN , self ) . __init__ ( ) self . _embedding = MultiChannelEmbedding ( vocab ) self . _convolution = ConvolutionLayer ( 300 , 300 ) self . _pooling = MaxOverTimePooling ( ) self . _dropout = nn . Dropout ( ) self . _fc = nn . Linear ( 300 , num_classes )