Skip to content

Commit 34693cd

Browse files
committed
Make function Network::spec pure virtual
Signed-off-by: Stefan Weil <[email protected]>
1 parent a7c0a95 commit 34693cd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/lstm/network.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,7 @@ class TESS_API Network {
140140
const std::string &name() const {
141141
return name_;
142142
}
143-
virtual std::string spec() const {
144-
return "?";
145-
}
143+
virtual std::string spec() const = 0;
146144
bool TestFlag(NetworkFlags flag) const {
147145
return (network_flags_ & flag) != 0;
148146
}

0 commit comments

Comments
 (0)