How to window or reset streaming operations in tensorflow?

后端 未结 2 403
你的背包
你的背包 2021-01-26 18:04

Tensorflow provides all sorts of nice streaming operations to aggregate statistics along batches, such as tf.metrics.mean.

However I find that accumulating

2条回答
  •  粉色の甜心
    2021-01-26 18:30

    The metrics in tf.contrib.eager.metrics (which work both with and without eager execution) have a init_variable() op you can call if you want to reset their internal variables.

提交回复
热议问题