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

Function RunPlan

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

Source from the content-addressed store, hash-verified

268
269
270def RunPlan(plan_or_step):
271 # TODO(jiayq): refactor core.py/workspace.py to avoid circular deps
272 import caffe2.python.core as core
273 if isinstance(plan_or_step, core.ExecutionStep):
274 plan_or_step = core.Plan(plan_or_step)
275 return C.run_plan(StringifyProto(plan_or_step))
276
277
278def RunPlanInBackground(plan_or_step):

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…