Skip to content

Commit

Permalink
add check for MSVC predict_bug (second)
Browse files Browse the repository at this point in the history
  • Loading branch information
josephjaspers committed Oct 29, 2019
1 parent 50e2e3d commit 2405b82
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/neural_networks/Layers/LSTM.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ struct LSTM : public Layer_Base {
using forward_requires_outputs = std::true_type;
using backward_requires_outputs = std::true_type;
using requires_extra_cache = std::true_type;

#ifndef _MSC_VER
using defines_predict = std::true_type;
#endif

using defines_single_predict = std::true_type;

private:
Expand Down

0 comments on commit 2405b82

Please sign in to comment.