We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3f0f3d commit 4736246Copy full SHA for 4736246
paddle/math/Matrix.h
@@ -408,7 +408,7 @@ class Matrix : public BaseMatrix {
408
LOG(FATAL) << "Not implemented";
409
}
410
411
- virtual void addBias(Matrix& b, real scale, bool sharedBias) {
+ void addBias(Matrix& b, real scale, bool sharedBias) {
412
if (!sharedBias) {
413
addBias(b, scale);
414
} else {
@@ -425,7 +425,7 @@ class Matrix : public BaseMatrix {
425
426
427
428
- virtual void collectBias(Matrix& a, real scale, bool sharedBias) {
+ void collectBias(Matrix& a, real scale, bool sharedBias) {
429
430
collectBias(a, scale);
431
0 commit comments