diff options
author | Tomasz Dwojak <t.dwojak@amu.edu.pl> | 2017-05-30 13:14:36 +0300 |
---|---|---|
committer | Tomasz Dwojak <t.dwojak@amu.edu.pl> | 2017-05-30 13:14:36 +0300 |
commit | 5454c11a471ec9e258a81b8e5ac4d5bb01816738 (patch) | |
tree | 046d5c86e695ef970927a94359885a6ac4e2a0d6 /src/amun/cpu/decoder | |
parent | 175a2866e1ff0cdf2d2ee896c3331598481dd0fd (diff) |
Remove redundant God in Scorer::Decode()
Diffstat (limited to 'src/amun/cpu/decoder')
-rw-r--r-- | src/amun/cpu/decoder/encoder_decoder.cpp | 2 | ||||
-rw-r--r-- | src/amun/cpu/decoder/encoder_decoder.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/amun/cpu/decoder/encoder_decoder.cpp b/src/amun/cpu/decoder/encoder_decoder.cpp index 6ebd15e4..c396c366 100644 --- a/src/amun/cpu/decoder/encoder_decoder.cpp +++ b/src/amun/cpu/decoder/encoder_decoder.cpp @@ -63,7 +63,7 @@ EncoderDecoder::EncoderDecoder(const std::string& name, decoder_(new CPU::Decoder(model_)) {} -void EncoderDecoder::Decode(const God &god, const State& in, State& out, const std::vector<size_t>&) { +void EncoderDecoder::Decode(const State& in, State& out, const std::vector<size_t>&) { const EDState& edIn = in.get<EDState>(); EDState& edOut = out.get<EDState>(); diff --git a/src/amun/cpu/decoder/encoder_decoder.h b/src/amun/cpu/decoder/encoder_decoder.h index b936d2df..bf3c710e 100644 --- a/src/amun/cpu/decoder/encoder_decoder.h +++ b/src/amun/cpu/decoder/encoder_decoder.h @@ -54,7 +54,7 @@ class EncoderDecoder : public Scorer { size_t tab, const Weights& model); - virtual void Decode(const God &god, const State& in, State& out, const std::vector<size_t>& beamSizes); + virtual void Decode(const State& in, State& out, const std::vector<size_t>& beamSizes); virtual State* NewState() const; |