Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pytorch/pytorch
/ _get_modifier
Method
_get_modifier
caffe2/python/modifier_context.py:29–30 ·
view source on GitHub ↗
(self, name)
Source
from the content-addressed store, hash-verified
27
return
name in self._modifiers
28
29
def
_get_modifier(self, name):
30
return
self._modifiers.get(name)
31
32
def
push_modifiers(self, modifiers):
33
# modifier override is allowed
Callers
3
get_normalizer
Method · 0.80
get_regularizer
Method · 0.80
get_optimizer
Method · 0.80
Calls
1
get
Method · 0.45
Tested by
no test coverage detected