human
Complete the below
@contextmanager
def guided_relu():

    ''''Returns:
    A context where the gradient of :meth:`tf.nn.relu` is replaced by
    guided back-propagation, as described in the paper:
    `Striving for Simplicity: The All Convolutional Net
    <https://arxiv.org/abs/1412.6806>`_'
    '''
assistant
#Here is the Python code you requested.
    from tensorflow.python.ops import gen_nn_ops
    @tf.RegisterGradient('GuidedReLU')
    def GuidedReluGrad(op, grad):
        return tf.where((0.0 < grad), gen_nn_ops._relu_grad(grad, op.outputs[0]), tf.zeros(grad.get_shape()))
    g = tf.get_default_graph()
    with g.gradient_override_map({'Relu': 'GuidedReLU'}):
        (yield)