Commit d4da6c53 authored by Dennis Francis's avatar Dennis Francis

adapt to dlib indentation style

parent af76e826
...@@ -584,7 +584,6 @@ namespace dlib ...@@ -584,7 +584,6 @@ namespace dlib
template <typename SUBNET> template <typename SUBNET>
using loss_mean_squared = add_loss_layer<loss_mean_squared_, SUBNET>; using loss_mean_squared = add_loss_layer<loss_mean_squared_, SUBNET>;
} }
#endif // DLIB_DNn_LOSS_ABSTRACT_H_ #endif // DLIB_DNn_LOSS_ABSTRACT_H_
......
...@@ -1758,11 +1758,7 @@ namespace ...@@ -1758,11 +1758,7 @@ namespace
y[ii] = (true_intercept + true_slope*static_cast<float>(val) + distribution(generator)); y[ii] = (true_intercept + true_slope*static_cast<float>(val) + distribution(generator));
} }
using net_type = loss_mean_squared< using net_type = loss_mean_squared<fc<1, input<matrix<double>>>>;
fc<
1, input<matrix<double>>
>
>;
net_type net; net_type net;
layer<1>(net).layer_details().set_bias_learning_rate_multiplier(300); layer<1>(net).layer_details().set_bias_learning_rate_multiplier(300);
sgd defsolver; sgd defsolver;
......
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