code: def test_float_1_converts_to_uint8_255(self):
      green_uint8 = np.array([[[0, 255, 0]]], dtype="uint8")
      green_float32 = np.array([[[0, 1, 0]]], dtype="float32")
  
      a = summary.image(tensor=green_uint8, tag="")
      b = summary.image(tensor=green_float32, tag="")
      self.assertEqual(a, b)
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  from tensorboardX import summary
  from .expect_reader import compare_proto, write_proto
  import numpy
  import pytest
  import unittest
  import torch
label_desc: Use image node_id 3 for calling the SummaryTest obj's underlying member method code with example usage: obj.test_float_1_converts_to_uint8_255() without return types