tf.cond

Return true_fn() if the predicate pred is true else false_fn().

Used in the notebooks

Used in the tutorials