Explorar el Código

Merge pull request #17 from cclauss/patch-1

False
Jackie Loong hace 6 años
padre
commit
c7974799ba
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      ch11/nb.py

+ 1 - 1
ch11/nb.py

@@ -16,7 +16,7 @@ out
 #%%
 net.embeddings
 net.embeddings.trainable
-net.trainable = Flase
+net.trainable = False
 #%%
 # 从预训练模型中加载词向量表
 embed_glove = load_embed('glove.6B.50d.txt')