Exemple #1
0
def _histogram(name, tensor):
    if not tf.get_variable_scope().reuse and not tf.sg_get_context().reuse:
        #val = gen_logging_ops.summary.scalar(name, tensor)
        #tf.add_to_collection(tf.GraphKeys.SUMMARIES, val)
        xjiko = 1
Exemple #2
0
def _scalar(name, tensor):
    if not tf.get_variable_scope().reuse and not tf.sg_get_context().reuse:
        val = gen_logging_ops._scalar_summary(name, tensor)
        tf.add_to_collection(tf.GraphKeys.SUMMARIES, val)