Commit 443de015 authored by WenmuZhou's avatar WenmuZhou
Browse files

fux bug

parent d6afe165
......@@ -45,7 +45,7 @@ class L2Decay(object):
def __init__(self, factor=0.0):
super(L2Decay, self).__init__()
self.coeff = factor
self.coeff = float(factor)
def __call__(self):
return self.coeff
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment