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

Function fetch

caffe2/python/schema.py:1150–1154  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

1148 """
1149
1150 def fetch(v):
1151 if ws is None:
1152 return workspace.FetchBlob(str(v))
1153 else:
1154 return ws.blobs[str(v)].fetch()
1155
1156 assert isinstance(blob_record, Field)
1157 field_blobs = blob_record.field_blobs()

Callers 3

componentDidMountMethod · 0.85
add_remote_filesFunction · 0.85
FetchRecordFunction · 0.85

Calls 1

fetchMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…