MCPcopy Index your code
hub / github.com/pytorch/pytorch / fetch_total

Method fetch_total

caffe2/python/checkpoint_test.py:74–76  ·  view source on GitHub ↗
(session)

Source from the content-addressed store, hash-verified

72 output_fetcher = Task(step=core.Net('empty'), outputs=outputs)
73
74 def fetch_total(session):
75 session.run(output_fetcher)
76 return output_fetcher.outputs()[0].fetch()
77
78 session, checkpoint = builder()
79 job.compile(LocalSession)

Callers

nothing calls this directly

Calls 3

runMethod · 0.45
fetchMethod · 0.45
outputsMethod · 0.45

Tested by

no test coverage detected