import tensorflow as tf

        pct = tf.math.count_nonzero(loss, dtype=tf.float32) / tf.size(loss, out_type=tf.float32)

        p = tf.cond(tf.random_uniform((), dtype=tf.float32) < 1e-4,
                    lambda: tf.print('csrt acc ', [pct]),
