Commit fc903e74 by libei

delete assert in params

parent e186b036
...@@ -445,7 +445,6 @@ def convert_settings(settings): ...@@ -445,7 +445,6 @@ def convert_settings(settings):
args['decoder_normalize_before'] = True args['decoder_normalize_before'] = True
args['attention_dropout'] = 0.1 args['attention_dropout'] = 0.1
args['relu_dropout'] = 0.1 args['relu_dropout'] = 0.1
assert share_all_embedding ^ share_decoder_input_and_softmax
if share_all_embedding: if share_all_embedding:
args['share_all_embeddings'] = True args['share_all_embeddings'] = True
if share_decoder_input_and_softmax: if share_decoder_input_and_softmax:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论