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

Function feed

caffe2/python/schema.py:1170–1175  ·  view source on GitHub ↗
(b, v)

Source from the content-addressed store, hash-verified

1168 """
1169
1170 def feed(b, v):
1171 if ws is None:
1172 workspace.FeedBlob(str(b), v)
1173 else:
1174 ws.create_blob(str(b))
1175 ws.blobs[str(b)].feed(v)
1176 assert isinstance(blob_record, Field)
1177 field_blobs = blob_record.field_blobs()
1178 assert all(isinstance(v, BlobReference) for v in field_blobs)

Callers 1

FeedRecordFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…