From 262b92b5ffd1205be7d1f42b9426e94fb3cc9b75 Mon Sep 17 00:00:00 2001 From: Mohamed Elzarei Date: Sun, 4 Mar 2018 14:24:44 +0200 Subject: [PATCH] fix: Fix typo in imports --- examples/word2vec_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/word2vec_utils.py b/examples/word2vec_utils.py index 0666e6f8..8547b916 100644 --- a/examples/word2vec_utils.py +++ b/examples/word2vec_utils.py @@ -1,4 +1,4 @@ -xfrom collections import Counter +from collections import Counter import random import os import sys @@ -81,4 +81,4 @@ def batch_gen(download_url, expected_byte, vocab_size, batch_size, target_batch = np.zeros([batch_size, 1]) for index in range(batch_size): center_batch[index], target_batch[index] = next(single_gen) - yield center_batch, target_batch \ No newline at end of file + yield center_batch, target_batch