阅读(4409) (7)

TensorFlow函数:tf.logging.log_if

2018-08-15 15:27:46 更新

tf.logging.log_if函数

tf.logging.log_if(
    level,
    msg,
    condition,
    *args
)

定义在:tensorflow/python/platform/tf_logging.py.

仅在条件满足时,将'msg%args'记录在级别'level'上.