lib/torch/nn/leaky_relu.rb in torch-rb-0.15.0 vs lib/torch/nn/leaky_relu.rb in torch-rb-0.16.0

- old
+ new

@@ -11,10 +11,10 @@ F.leaky_relu(input, @negative_slope, inplace: @inplace) end def extra_inspect inplace_str = @inplace ? ", inplace: true" : "" - format("negative_slope: %s%s", @negative_slope, inplace_str) + format("negative_slope: %s", @negative_slope) + inplace_str end end end end