Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pytorch/pytorch
/ has_normalizer
Method
has_normalizer
caffe2/python/normalizer_context.py:18–19 ·
view source on GitHub ↗
(self, name)
Source
from the content-addressed store, hash-verified
16
""
"
17
18
def
has_normalizer(self, name):
19
return
self._has_modifier(name)
20
21
def
get_normalizer(self, name):
22
assert self.has_normalizer(name), (
Callers
1
get_normalizer
Method · 0.95
Calls
1
_has_modifier
Method · 0.80
Tested by
no test coverage detected