class_docstr: Writes entries to `Summary` protocol buffer.
docstr: Adds image to the summary. Float image in [-1, 1] in CHW format expected.
docstr_tok: ["Adds","image","to","the","summary",".","Float","image","in","[","-1",",","1","]","in","CHW","format","expected","."]
code: def image(self, tag: str, image: np.ndarray):
      """Adds image to the summary. Float image in [-1, 1] in CHW format expected."""
      self[tag] = Image(image.shape, util.image.to_png(image))
  
imports: import enum
  import os
  from time import time
  from typing import Union, Callable, Tuple, ByteString
  import numpy
  from tensorboard.compat.proto import event_pb2
  from tensorboard.compat.proto import summary_pb2
  from tensorboard.summary.writer.event_file_writer import EventFileWriter
  from tensorboard.util.tensor_util import make_tensor_proto
  from objax import util
label_desc: Use image node_id 1 for calling the Summary obj's underlying member method code with example usage: obj.image(tag, image) without return types