Metrics are not reset when using self.log()
🐛 Bug
Metrics are not reset when using self.log() unless user explicitly calling self.metric.compute()
See MSE metric example in the colab notebook linked below.
Printing internal states on epoch end shows that the metric states are not reset. Calling self.metric.compute() explicitly resolve the issue (uncomment line in epoch_end in linked colab)
Note: I didn't tested if reset occurs when logging on_step
https://colab.research.google.com/drive/10cTIhVkxdgKZ23WwAHiCSAlU7K1a3NRr?usp=sharing
Expected behavior
According to the documentation, metric should be reset even when using self.log() only.