(self, ary, out=None)
Calculates the ReLu transformation for input array.

        Arguments:
            ary: numpy array
            out: reference to output
Calculates the ReLu transformation for input array.
Calculates the ReLu transformation for input array .
def Relu(self, ary, out=None):
        """
        Calculates the ReLu transformation for input array.

        Arguments:
            ary: numpy array
            out: reference to output
        """
        if out is not None:
            return np.maximum(ary, 0, out)
        else:
            return np.maximum(ary, 0)
def Relu ( self , ary , out = None ) : if out is not None : return np . maximum ( ary , 0 , out ) else : return np . maximum ( ary , 0 )