class_docstr: This class implements a DGM with the TensorFlow framework.
class_docstr_tok: ["This","class","implements","a","DGM","with","the","TensorFlow","framework","."]
code: def loss_gradient(
      self, x, y, training_mode: bool = False, **kwargs
  ) -> np.ndarray:  # pylint: disable=W0221
      raise NotImplementedError
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  from typing import Any, Dict, List, Optional, Union, Tuple, TYPE_CHECKING
  import numpy
  from art.estimators.generation.generator import GeneratorMixin
  from art.estimators.tensorflow import TensorFlowEstimator, TensorFlowV2Estimator
label_desc: Use image node_id 7 for calling the TensorFlowGenerator obj's underlying member method code with example usage: obj.loss_gradient(x, y, training_mode) without return types