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.
2 parents e329655 + 486c6c5 commit fb05a73Copy full SHA for fb05a73
paddle/gserver/gradientmachines/GradientMachine.h
@@ -134,9 +134,7 @@ class GradientMachine {
134
backward(callback);
135
}
136
137
- virtual Argument getLayerOutput(const std::string& layerName) {
138
- return *((Argument*)nullptr);
139
- }
+ virtual Argument getLayerOutput(const std::string& layerName) = 0;
140
141
// see comment in Layer.h for the function with the same name
142
virtual void resetState() {}
0 commit comments