Update Add

This commit is contained in:
Shangtong Zhang
2017-06-22 20:12:08 -06:00
parent dc782b784d
commit e92b0bd8c2
+2 -1
View File
@@ -31,7 +31,8 @@ template<typename eT>
void Add<InputDataType, OutputDataType>::Forward(
const arma::Mat<eT>&& input, arma::Mat<eT>&& output)
{
output = input + weights;
output = input;
output.each_col() += weights;
}
template<typename InputDataType, typename OutputDataType>