feng2022 commited on
Commit
9f4086d
1 Parent(s): 9b2bfbf

Update Time_TravelRephotography/op/fused_act.py

Browse files
Time_TravelRephotography/op/fused_act.py CHANGED
@@ -71,9 +71,10 @@ class FusedLeakyReLUFunction(Function):
71
 
72
 
73
  class FusedLeakyReLU(nn.Module):
74
- def __init__(self, negative_slope=0.2, scale=2 ** 0.5):
75
  super().__init__()
76
 
 
77
  self.negative_slope = negative_slope
78
  self.scale = scale
79
 
 
71
 
72
 
73
  class FusedLeakyReLU(nn.Module):
74
+ def __init__(self, bias, negative_slope=0.2, scale=2 ** 0.5):
75
  super().__init__()
76
 
77
+ self.bias= bias
78
  self.negative_slope = negative_slope
79
  self.scale = scale
80