Skip to content

Commit

Permalink
Update to layer1_size
Browse files Browse the repository at this point in the history
  • Loading branch information
tmylk committed Mar 7, 2017
1 parent 244c6b8 commit 1dfa432
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1802,7 +1802,7 @@
" if not mean:\n",
" logging.warning(\"cannot compute similarity with no input %s\", words)\n",
" # FIXME: remove these examples in pre-processing\n",
" return np.zeros(wv.layer_size,)\n",
" return np.zeros(wv.layer1_size,)\n",
"\n",
" mean = gensim.matutils.unitvec(np.array(mean).mean(axis=0)).astype(np.float32)\n",
" return mean\n",
Expand Down

0 comments on commit 1dfa432

Please sign in to comment.