Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Oneflow-Inc/oneflow
/ l2
Method
l2
python/oneflow/nn/graph/optimizer.py:84–85 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
82
83
@property
84
def
l2(self):
85
return
self._l2
86
87
@l2.setter
88
def
l2(self, l2: float = 0.0):
Callers
4
forward
Method · 0.80
ProcessVariableOp
Method · 0.80
RegularizeGradient
Function · 0.80
Apply
Method · 0.80
Calls
no outgoing calls
Tested by
1
forward
Method · 0.64