Skip to content

Commit 98902c9

Browse files
committed
auto-format
1 parent 7b813c5 commit 98902c9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

include/fdeep/layers/relu_layer.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,20 @@ namespace internal {
3131
protected:
3232
tensor transform_input(const tensor& in_vol) const override
3333
{
34-
if (negative_slope_ == static_cast<float_type>(0) &&
35-
threshold_ == static_cast<float_type>(0) &&
36-
max_value_ == std::numeric_limits<float_type>::max()) {
34+
if (negative_slope_ == static_cast<float_type>(0) && threshold_ == static_cast<float_type>(0) && max_value_ == std::numeric_limits<float_type>::max()) {
3735
return transform_tensor([](float_type x) -> float_type {
3836
return std::max(static_cast<float_type>(0), x);
39-
}, in_vol);
37+
},
38+
in_vol);
4039
}
4140
return transform_tensor([&](float_type x) -> float_type {
4241
if (x >= max_value_)
4342
return max_value_;
4443
if (threshold_ <= x && x < max_value_)
4544
return x;
4645
return negative_slope_ * (x - threshold_);
47-
}, in_vol);
46+
},
47+
in_vol);
4848
}
4949
float_type max_value_;
5050
float_type negative_slope_;

0 commit comments

Comments
 (0)