MCPcopy Create free account
hub / github.com/pytorch/pytorch / print_job

Function print_job

caffe2/python/net_printer.py:391–398  ·  view source on GitHub ↗
(text, job)

Source from the content-addressed store, hash-verified

389
390@Printer.register(Job)
391def print_job(text, job):
392 text(job.init_group, 'Job.current().init_group')
393 text(job.epoch_group, 'Job.current().epoch_group')
394 with text.context('Job.current().stop_conditions'):
395 for out in job.stop_conditions:
396 text.add(_print_task_output(out))
397 text(job.download_group, 'Job.current().download_group')
398 text(job.exit_group, 'Job.current().exit_group')
399
400
401def to_string(obj, **kwargs):

Callers

nothing calls this directly

Calls 4

textFunction · 0.85
_print_task_outputFunction · 0.85
contextMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…