MCPcopy Index your code
hub / github.com/deepspeedai/DeepSpeedExamples / get_summary_writer

Function get_summary_writer

BingBertSquad/utils.py:117–120  ·  view source on GitHub ↗

Returns a tensorboard summary writer

(name, base="..")

Source from the content-addressed store, hash-verified

115 return parser
116
117def get_summary_writer(name, base=".."):
118 """Returns a tensorboard summary writer
119 """
120 return SummaryWriter(log_dir=os.path.join(base, SUMMARY_WRITER_DIR_NAME, name))
121
122def write_summary_events(summary_writer, summary_events):
123 for event in summary_events:

Callers 2

mainFunction · 0.90
mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected