deepaugment/lib/decorators.py
def matrix_gossiper(func):
        """Gossips about the input matrices of the function it decorates.
        """

        @wraps(func)
        def wrapper(*args, **kwargs):
            print(
                "{}()'s is inputted matrices with shapes:  {}, {}".format(
                    func.__name__, args[0].shape, args[1].shape
                )
            )
            return func(*args, **kwargs)

        return wrapper
Gossips about the input matrices of the function it decorates.
        
Gossips about the input matrices of the function it decorates.
Gossips about the input matrices of the function it decorates .
def matrix_gossiper(func):
        @wraps(func)
        def wrapper(*args, **kwargs):
            print(
                "{}()'s is inputted matrices with shapes:  {}, {}".format(
                    func.__name__, args[0].shape, args[1].shape
                )
            )
            return func(*args, **kwargs)
        return wrapper
def matrix_gossiper ( func ) : @ wraps ( func ) def wrapper ( * args , ** kwargs ) : print ( "{}()'s is inputted matrices with shapes:  {}, {}" . format ( func . __name__ , args [ 0 ] . shape , args [ 1 ] . shape ) ) return func ( * args , ** kwargs ) return wrapper
Gossips about the input matrices of the function it decorates.
Gossips about the input matrices of the function it decorates .
"""Gossips about the input matrices of the function it decorates.
        """
func