This is an automated email from the ASF dual-hosted git repository.

jxie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 50f326f  Use get_bz2_data in test_utils (#9776)
50f326f is described below

commit 50f326ff92de6037152ae30da31f104be4e2d2fe
Author: Anirudh Subramanian <anirudh2...@gmail.com>
AuthorDate: Mon Feb 19 11:53:55 2018 -0800

    Use get_bz2_data in test_utils (#9776)
---
 benchmark/python/sparse/sparse_op.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/benchmark/python/sparse/sparse_op.py 
b/benchmark/python/sparse/sparse_op.py
index ebe62af..95ea7d5 100644
--- a/benchmark/python/sparse/sparse_op.py
+++ b/benchmark/python/sparse/sparse_op.py
@@ -24,7 +24,8 @@ import time
 import argparse
 
 from mxnet.base import check_call, _LIB
-from util import get_data, estimate_density
+from mxnet.test_utils import get_bz2_data
+from util import estimate_density
 
 parser = argparse.ArgumentParser(description="Benchmark sparse operators",
                                  
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
@@ -78,7 +79,7 @@ def test_dot_real(data_dict):
 
     path = os.path.join(data_dir, data_dict['data_name'])
     if not os.path.exists(path):
-        get_data(
+        get_bz2_data(
             data_dir,
             data_dict['data_name'],
             data_dict['url'],

-- 
To stop receiving notification emails like this one, please contact
j...@apache.org.

Reply via email to