diff --git a/develop/doc_cn/howto/deep_model/rnn/hrnn_rnn_api_compare_cn.html b/develop/doc_cn/howto/deep_model/rnn/hrnn_rnn_api_compare_cn.html index e9cd7ba6ffd1b48209c9694bb10ae9ced2e0c411..13d11e9bad74945ada4cd4c734ca3a74f7080f22 100644 --- a/develop/doc_cn/howto/deep_model/rnn/hrnn_rnn_api_compare_cn.html +++ b/develop/doc_cn/howto/deep_model/rnn/hrnn_rnn_api_compare_cn.html @@ -301,8 +301,7 @@ 16 17 18 -19
def hook(settings, dict_file, **kwargs):
-    settings.word_dict = dict_file
+19
    settings.word_dict = dict_file
     settings.input_types = [
         integer_value_sequence(len(settings.word_dict)), integer_value(3)
     ]
@@ -320,6 +319,7 @@
                 settings.word_dict[w] for w in words if w in settings.word_dict
             ]
             yield words, label
+