阅读(6.5k) 书签 (0)

TensorFlow函数:tf.logging.log_if

2018-08-16 17:42 更新

tf.logging.log_if函数

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

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

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