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

Function RefreshRegisteredOperators

caffe2/python/core.py:81–85  ·  view source on GitHub ↗
(trigger_lazy=True)

Source from the content-addressed store, hash-verified

79
80
81def RefreshRegisteredOperators(trigger_lazy=True):
82 if trigger_lazy:
83 TriggerLazyImport()
84 global _REGISTERED_OPERATORS
85 _REGISTERED_OPERATORS = _GetRegisteredOperators()
86
87
88_GLOBAL_INIT_ARGS = []

Callers

nothing calls this directly

Calls 2

TriggerLazyImportFunction · 0.90
_GetRegisteredOperatorsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…