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

Function RunPlanInBackground

caffe2/python/workspace.py:278–283  ·  view source on GitHub ↗
(plan_or_step)

Source from the content-addressed store, hash-verified

276
277
278def RunPlanInBackground(plan_or_step):
279 # TODO(jiayq): refactor core.py/workspace.py to avoid circular deps
280 import caffe2.python.core as core
281 if isinstance(plan_or_step, core.ExecutionStep):
282 plan_or_step = core.Plan(plan_or_step)
283 return C.run_plan_in_background(StringifyProto(plan_or_step))
284
285
286def InferShapesAndTypes(nets, blob_dimensions=None, nets_proto=False,

Callers

nothing calls this directly

Calls 2

isinstanceFunction · 0.85
StringifyProtoFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…