MCPcopy Create free account
hub / github.com/geekcomputers/Python / log_image

Method log_image

ML/src/python/neuralforge/utils/logger.py:105–107  ·  view source on GitHub ↗
(self, tag: str, img_tensor, step: int)

Source from the content-addressed store, hash-verified

103 self.writer.add_histogram(tag, values, step)
104
105 def log_image(self, tag: str, img_tensor, step: int):
106 if self.enabled:
107 self.writer.add_image(tag, img_tensor, step)
108
109 def log_graph(self, model, input_to_model):
110 if self.enabled:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected