(self, out, keepthresh=0.5)
Create a binary mask for dropout layers.

        Arguments:
            out (GPUTensor): Output tensor
            keepthresh (float): fraction of ones
Create a binary mask for dropout layers.
Create a binary mask for dropout layers .
def make_binary_mask(self, out, keepthresh=0.5):
        """
        Create a binary mask for dropout layers.

        Arguments:
            out (GPUTensor): Output tensor
            keepthresh (float): fraction of ones
        """
        self.dropout(keep=keepthresh, out=out)
def make_binary_mask ( self , out , keepthresh = 0.5 ) : self . dropout ( keep = keepthresh , out = out )