Skip to content

Commit

Permalink
leaky to leaky_relu
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiaanr committed Aug 2, 2024
1 parent 11512f9 commit 1fc7583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ptype/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def build_neural_network(self, inputs, outputs):
inputs (int): Number of input predictor variables
outputs (int): Number of output predictor variables
"""
if self.activation == "leaky":
if self.activation == "leaky_relu":
self.activation = LeakyReLU()

if self.kernel_reg == "l1":
Expand Down

0 comments on commit 1fc7583

Please sign in to comment.