class_docstr: Print the gradients every step with :func:`symbolic_functions.print_stat`.
class_docstr_tok: ["Print","the","gradients","every","step","with",":","func",":","`","symbolic_functions.print_stat","`","."]
docstr: Args:
      regex(str): same as in :class:`MapGradient`.
docstr_tok: ["Args",":","regex","(","str",")",":","same","as","in",":","class",":","`","MapGradient","`","."]
code: def __init__(self, regex=".*"):
      """
      Args:
          regex(str): same as in :class:`MapGradient`.
      """
      super(PrintGradient, self).__init__(self._mapper, regex)
  
imports: import inspect
  import re
  from abc import ABCMeta, abstractmethod
  import six
  import tensorflow
  from ..compat import tfv1
  from ..utils import logger
  from .summary import add_moving_summary
  from .symbolic_functions import print_stat, rms
label_desc: Use image node_id 1 to create a new PrintGradient object from inherited base classes: MapGradient with example: obj = PrintGradient(regex)