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

Function GetOperatorCost

caffe2/python/workspace.py:201–202  ·  view source on GitHub ↗
(operator, blobs)

Source from the content-addressed store, hash-verified

199
200
201def GetOperatorCost(operator, blobs):
202 return C.get_operator_cost(StringifyProto(operator), blobs)
203
204
205def RunOperatorOnce(operator):

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…