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

Method has_regularizer

caffe2/python/regularizer_context.py:18–19  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

16 """
17
18 def has_regularizer(self, name):
19 return self._has_modifier(name)
20
21 def get_regularizer(self, name):
22 assert self.has_regularizer(name), (

Callers 1

get_regularizerMethod · 0.95

Calls 1

_has_modifierMethod · 0.80

Tested by

no test coverage detected