def stop_gradient(variables):
 return tf.stop_gradient(variables)

def stop_gradient ( variables ) : return tf . stop_gradient ( variables )
returns variables but with zero gradient with respect to every other variables .