code: def testClipIndexedSlicesByNorm(self):
      values = [
          [[-3.0, 0.0, 0.0], [4.0, 0.0, 0.0]],
          [[0.0, 2.0, 0.0], [0.0, 0.0, -1.0]],
      ]
      indices = [2, 6]
      shape = [10, 2, 3]
      # Axes == None
      self._testClipIndexedSlicesByNorm(
          values, indices, shape, 4.0, None
      )
  
      # Axes == 0
      self._testClipIndexedSlicesByNorm(values, indices, shape, 4.0, 0)
  
      # Axes == 1
      self._testClipIndexedSlicesByNorm(values, indices, shape, 4.0, 1)
  
      # Axes == 2
      self._testClipIndexedSlicesByNorm(values, indices, shape, 4.0, 1)
  
      # Axes == [0, 1]
      self._testClipIndexedSlicesByNorm(
          values, indices, shape, 4.0, [0, 1]
      )
  
      # Axes == [0, 1]
      self._testClipIndexedSlicesByNorm(
          values, indices, shape, 4.0, [0, 2]
      )
  
      # Axes == [0, 1]
      self._testClipIndexedSlicesByNorm(
          values, indices, shape, 4.0, [1, 2]
      )
  
      # Axes == [0, 1]
      self._testClipIndexedSlicesByNorm(
          values, indices, shape, 4.0, [0, 1, 2]
      )
  
imports: import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import indexed_slices
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import clip_ops
  from tensorflow.python.ops import numerics
  from tensorflow.python.platform import test
label_desc: Use image node_id 10 for calling the ClipOpsTest obj's underlying member method code with example usage: obj.testClipIndexedSlicesByNorm() without return types