MCPcopy 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_normalizerMethod · 0.80
get_regularizerMethod · 0.80
get_optimizerMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected