(self)
Pre-compute masks for speed.
Pre-compute masks for speed.
Pre - compute masks for speed .
def _update_mask(self):
        """Pre-compute masks for speed."""
        self._threshold_mask = self._data > self._theta
        self._threshold_mask_v = self._data > self._theta/np.abs(self._v)
def _update_mask ( self ) : self . _threshold_mask = self . _data > self . _theta self . _threshold_mask_v = self . _data > self . _theta / np . abs ( self . _v )