class_docstr: Callback to print values during optimization.
      
class_docstr_tok: ["Callback","to","print","values","during","optimization","."]
code: def callback(self, i, named_losses, overall_loss, grads, wrt_value):
      print(
          "Iteration: {}, named_losses: {}, overall loss: {}".format(
              i + 1, pprint.pformat(named_losses), overall_loss
          )
      )
  
file_path: keras-vis/vis/callbacks.py
imports: from __future__ import absolute_import
  import pprint
  import numpy
  from .utils import utils
label_desc: Use image node_id 1 for calling the Print obj's underlying member method code with example usage: obj.callback(i, named_losses, overall_loss, grads, wrt_value) without return types