Skip to content

Commit

Permalink
Update examples/torch/torch_gru/torch_gru.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: jatinchowdhury18 <[email protected]>
  • Loading branch information
proshian and jatinchowdhury18 authored Jul 30, 2023
1 parent 1aee26b commit 153a3d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/torch/torch_gru/torch_gru.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ std::string getOutputFile(fs::path path)
return path.string();
}

const int gru_input_size = 1;
const int gru_hidden_size = 8;
const int n_output_neurons = 1;
constexpr int gru_input_size = 1;
constexpr int gru_hidden_size = 8;
constexpr int n_output_neurons = 1;

using ModelType = RTNeural::ModelT<float, gru_input_size, n_output_neurons,
RTNeural::GRULayerT<float, gru_input_size, gru_hidden_size>,
Expand Down

0 comments on commit 153a3d3

Please sign in to comment.