code: def testGradientsAll(self):
      for dtype in _TEST_DTYPES:
          if not dtype.is_integer and dtype not in [
              dtypes.float8_e5m2,
              dtypes.float8_e4m3fn,
          ]:
              self._testGradientsSimple(dtype)
              self._testGradientsSimpleVariable(dtype)
  
imports: import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gradients_impl
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 23 for calling the SplitOpTest obj's underlying member method code with example usage: obj.testGradientsAll() without return types