From 5b1d38108e5874610f118efaddd8f4a504d7c496 Mon Sep 17 00:00:00 2001
From: Tobi-Alonso <tobi.alonso@gmail.com>
Date: Thu, 14 May 2020 17:15:54 +0100
Subject: [PATCH] [TEST] Add seed to test to be able to reproduce the test

---
 tests/custom_op/test_multi_thresholding.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/custom_op/test_multi_thresholding.py b/tests/custom_op/test_multi_thresholding.py
index c757ee96b..5fc69ce50 100644
--- a/tests/custom_op/test_multi_thresholding.py
+++ b/tests/custom_op/test_multi_thresholding.py
@@ -295,6 +295,7 @@ def test_execute_multi_thresholding():
     assert (results_scaled == outputs_scaled).all()
 
     # performance and random test
+    np.random.seed(0)
     inputs = np.random.random((1, 256, 64, 64))
     thresholds = (np.array([[1, 2, 3, 4, 5, 6]]) - 0.5) / 6
 
-- 
GitLab