code: def test_shift_right_float(self):
      layer = tl.ShiftRight()
      x = np.array(
          [
              [[9, 9, 9], [8, 8, 8], [7, 7, 7], [6, 6, 6]],
              [[99, 98, 97], [96, 95, 94], [93, 92, 91], [90, 89, 88]],
          ]
      ).astype(np.float32)
      x /= 2.0
      self.assertEqual(x.dtype, np.float32)
  
      y = layer(x)
      self.assertEqual(y.dtype, np.float32)
      self.assertEqual(
          tl.to_list(y),
          [
              [
                  [0.0, 0.0, 0.0],
                  [4.5, 4.5, 4.5],
                  [4.0, 4.0, 4.0],
                  [3.5, 3.5, 3.5],
              ],
              [
                  [0.0, 0.0, 0.0],
                  [49.5, 49.0, 48.5],
                  [48.0, 47.5, 47.0],
                  [46.5, 46.0, 45.5],
              ],
          ],
      )
  
imports: import functools
  from absl.testing import absltest
  import numpy
  from trax import shapes
  import trax.layers
  from trax.layers import test_utils
label_desc: Use image node_id 3 for calling the AttentionTest obj's underlying member method code with example usage: obj.test_shift_right_float() without return types