Closed Duyi-Wang closed 5 months ago
Replace Model::input() and Model::config() with Model::set_input(). Refactor Decoder.forward() params to std::vector<xft::SequenceMeta *> &seq, bool logits_all = false.
Model::input()
Model::config()
Model::set_input()
Decoder.forward()
std::vector<xft::SequenceMeta *> &seq, bool logits_all = false
Replace
Model::input()
andModel::config()
withModel::set_input()
. RefactorDecoder.forward()
params tostd::vector<xft::SequenceMeta *> &seq, bool logits_all = false
.