def METHOD_NAME(self, F, x: Tensor) -> Tensor:
    """
    Parameters
    ----------
    x
        Input Tensor
    Returns
    -------
    Tensor
        output of SNMLPBlock
    """
    self._cached_inputs = []
    for layer in self._layers:
        self._cached_inputs += [x]
        x = layer(x)
    return x