def BNReLU(x, name=None):
    """
    A shorthand of BatchNormalization + ReLU.

    Args:
        x (tf.Tensor): the input
        name: deprecated, don't use.
    """
    if name is not None:
        log_deprecated("BNReLU(name=...)", "The output tensor will be named `output`.")

    x = BatchNorm('bn', x)
    x = tf.nn.relu(x, name=name)
    return x

    A shorthand of BatchNormalization + ReLU.

    Args:
        x (tf.Tensor): the input
        name: deprecated, don't use.
    
tensorpack/models/nonlin.py