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

Function IsOperatorWithEngine

caffe2/python/core.py:105–107  ·  view source on GitHub ↗
(op_type, engine)

Source from the content-addressed store, hash-verified

103
104
105def IsOperatorWithEngine(op_type, engine):
106 TriggerLazyImport()
107 return C.op_registry_key(op_type, engine) in _REGISTERED_OPERATORS
108
109
110def IsGPUDeviceType(device_type):

Callers 2

IsOperatorFunction · 0.85
__getattr__Method · 0.85

Calls 1

TriggerLazyImportFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…