def __init__(self, verbose=True):
        """
        Args:
            verbose (bool): whether to print warning about None gradients.
        """
        super(FilterNoneGrad, self).__init__()
        self._verbose = verbose

        Args:
            verbose (bool): whether to print warning about None gradients.
        
tensorpack/tfutils/gradproc.py