How can I change `G_h1 = tf.nn.relu(tf.matmul(z, G_W1) + G_b1)` to leaky relu? I have tried looping over the tensor using `max(value, 0,01*value)` but I get `TypeError: Using a tf.Tensor as a Python bool is not allowed.` 

I also tried to find the source code on relu on Tensorflow github so that I can modify it to leaky relu but I couldn't find it..