Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/nplm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Activation_function.h')
-rw-r--r--src/Activation_function.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Activation_function.h b/src/Activation_function.h
index 0264cd1..dcd8651 100644
--- a/src/Activation_function.h
+++ b/src/Activation_function.h
@@ -3,7 +3,7 @@
#include <cmath>
#include <string>
-#include "../3rdparty/Eigen/Dense"
+#include <Eigen/Dense>
#include "util.h"
@@ -68,7 +68,6 @@ struct drectifier_functor {
class Activation_function
{
- private:
int size;
activation_function_type f;
@@ -99,8 +98,10 @@ class Activation_function
}
template <typename DerivedGOut, typename DerivedGIn, typename DerivedIn, typename DerivedOut>
- void bProp(const MatrixBase<DerivedGOut> &input, MatrixBase<DerivedGIn> &output,
- const MatrixBase<DerivedIn> &finput, const MatrixBase<DerivedOut> &foutput) const
+ void bProp(const MatrixBase<DerivedGOut> &input,
+ MatrixBase<DerivedGIn> &output,
+ const MatrixBase<DerivedIn> &finput,
+ const MatrixBase<DerivedOut> &foutput) const
{
UNCONST(DerivedGIn, output, my_output);