Skip to content

Commit

Permalink
jenkin fix
Browse files Browse the repository at this point in the history
  • Loading branch information
goldmermaid committed Nov 17, 2021
1 parent 8a3cee0 commit 54cee2b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions chapter_recurrent-modern/seq2seq.md
Original file line number Diff line number Diff line change
Expand Up @@ -803,8 +803,7 @@ def predict_seq2seq(net, src_sentence, src_vocab, tgt_vocab, num_steps,
break
output_seq.append(pred.numpy())
return ' '.join(tgt_vocab.to_tokens(
tf.reshape(output_seq, shape = -1).numpy().tolist())),
attention_weight_seq
tf.reshape(output_seq, shape = -1).numpy().tolist())), \ attention_weight_seq
```

## 预测序列的评估
Expand Down

0 comments on commit 54cee2b

Please sign in to comment.