Skip to content

Commit

Permalink
* disable memorize for a while.
Browse files Browse the repository at this point in the history
  • Loading branch information
srkreddy1238 committed Mar 22, 2019
1 parent 47e83b3 commit fc584ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions topi/tests/python/test_topi_depthwise_conv2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def check_device(device):
scale_shift_shape = get_const_tuple(ScaleShift.shape)

# Use memoize, pickle the test data for next time use.
@memoize("topi.tests.test_topi_depthwise_conv2d.nchw")
#@memoize("topi.tests.test_topi_depthwise_conv2d.nchw")
def get_ref_data():
input_np = np.random.uniform(size=input_shape).astype(dtype)
filter_np = np.random.uniform(size=filter_shape).astype(dtype)
Expand Down Expand Up @@ -157,7 +157,7 @@ def check_device(device):
scale_shift_shape = get_const_tuple(ScaleShift.shape)

# Use memoize, pickle the test data for next time use.
@memoize("topi.tests.test_topi_depthwise_conv2d.nhwc.v2")
#@memoize("topi.tests.test_topi_depthwise_conv2d.nhwc.v2")
def get_ref_data():
input_np = np.random.uniform(size=input_shape).astype(dtype)
filter_np = np.random.uniform(size=filter_shape).astype(dtype)
Expand Down Expand Up @@ -280,7 +280,7 @@ def check_device(device):
filter_shape = (filter_channel, channel_multiplier, filter_height, filter_width)

# Use memoize, pickle the test data for next time use.
@memoize("topi.tests.test_topi_depthwise_conv2d.NCHWc")
#@memoize("topi.tests.test_topi_depthwise_conv2d.NCHWc")
def get_ref_data():
input_np = np.random.uniform(size=input_shape).astype(dtype)
filter_np = np.random.uniform(size=filter_shape).astype(dtype)
Expand Down

0 comments on commit fc584ce

Please sign in to comment.