(self, kernel_size: int, stride: int, tracking: bool = True)
Instantiating MaxPool1d class

        Args:
            kernel_size (int): the kernel size of 1d max pooling
            stride (int): the stride of 1d max pooling
            tracking (bool): tracking length of sequence. Default: True
Instantiating MaxPool1d class
Instantiating MaxPool1d class
def __init__(self, kernel_size: int, stride: int, tracking: bool = True) -> None:
        """Instantiating MaxPool1d class

        Args:
            kernel_size (int): the kernel size of 1d max pooling
            stride (int): the stride of 1d max pooling
            tracking (bool): tracking length of sequence. Default: True
        """
        super(MaxPool1d, self).__init__()
        self._kernel_size = kernel_size
        self._stride = stride
        self._tracking = tracking

        self._ops = nn.MaxPool1d(self._kernel_size, self._stride)
def __init__ ( self , kernel_size : int , stride : int , tracking : bool = True ) -> None : super ( MaxPool1d , self ) . __init__ ( ) self . _kernel_size = kernel_size self . _stride = stride self . _tracking = tracking self . _ops = nn . MaxPool1d ( self . _kernel_size , self . _stride )