tesseract/tesseract_api.patch
2021-12-14 12:26:13 +01:00

13 lines
614 B
Diff

diff -rupN tesseract-5.0.0/src/lstm/plumbing.h tesseract-5.0.0-new/src/lstm/plumbing.h
--- tesseract-5.0.0/src/lstm/plumbing.h 2021-11-30 18:48:16.000000000 +0100
+++ tesseract-5.0.0-new/src/lstm/plumbing.h 2021-12-10 21:24:35.113774177 +0100
@@ -76,7 +76,7 @@ public:
void SetRandomizer(TRand *randomizer) override;
// Adds the given network to the stack.
- virtual void AddToStack(Network *network);
+ TESS_API virtual void AddToStack(Network *network);
// Sets needs_to_backprop_ to needs_backprop and returns true if
// needs_backprop || any weights in this network so the next layer forward