예제 #1
0
파일: ops.py 프로젝트: szuer2018/NNSC
def tensor_summary(name, x):
    try:
        summ = tf.summary.tensor_summary(name, x)
    except AttributeError:
        summ = tf.tensor_summary(name, x)
    return summ
예제 #2
0
파일: ops.py 프로젝트: cc-cherie/segan
def tensor_summary(name, x):
    try:
        summ = tf.summary.tensor_summary(name, x)
    except AttributeError:
        summ = tf.tensor_summary(name, x)
    return summ