code: def test_floating_point_data(self):
      data = np.array([-0.01, 0.0, 0.9, 1.0, 1.1]).reshape(
          (1, -1, 1, 1)
      )
      pb = self.image("mona_lisa", data)
      encoded = pb.value[0].tensor.string_val[2]  # skip width, height
      decoded = tf.image.decode_png(encoded).numpy()
      # Float values outside [0, 1) are truncated, and everything is scaled to the
      # range [0, 255] with 229 = 0.9 * 255, truncated.
      self.assertAllEqual([0, 0, 229, 255, 255], list(decoded.flat))
  
imports: import glob
  import os
  import numpy
  import tensorflow
  from tensorboard.compat import tf2
  from tensorboard.compat.proto import summary_pb2
  from tensorboard.plugins.image import metadata
  from tensorboard.plugins.image import summary
label_desc: Use image node_id 7 for calling the SummaryV2OpTest obj's underlying member method code with example usage: obj.test_floating_point_data() without return types