(plan_or_step)
| 276 | |
| 277 | |
| 278 | def 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 | |
| 286 | def InferShapesAndTypes(nets, blob_dimensions=None, nets_proto=False, |
nothing calls this directly
no test coverage detected
searching dependent graphs…