docstr: Tests that float32 image (pixel values in [0, 1]) are scaled correctly
  to [0, 255]
docstr_tok: ["Tests","that","float32","image","(","pixel","values","in","[","0",",","1","]",")","are","scaled","correctly","to","[","0",",","255","]"]
code: def test_float32_image(self):
      """
      Tests that float32 image (pixel values in [0, 1]) are scaled correctly
      to [0, 255]
      """
      test_image = tensor_N(shape=(3, 32, 32))
      compare_proto(summary.image("dummy", test_image), self)
  
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 2 for calling the SummaryTest obj's underlying member method code with example usage: obj.test_float32_image() without return types