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

Function Predictor

caffe2/python/workspace.py:197–198  ·  view source on GitHub ↗
(init_net, predict_net)

Source from the content-addressed store, hash-verified

195
196
197def Predictor(init_net, predict_net):
198 return C.Predictor(StringifyProto(init_net), StringifyProto(predict_net))
199
200
201def GetOperatorCost(operator, blobs):

Callers

nothing calls this directly

Calls 1

StringifyProtoFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…