From c80378063af71ecac53ca3e7e60e728a5c64f37b Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 12 Jul 2024 13:27:52 +0200 Subject: [PATCH] add np_argmin/argmax to interpret_demo environment --- nac3standalone/demo/interpret_demo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nac3standalone/demo/interpret_demo.py b/nac3standalone/demo/interpret_demo.py index 2eb5d35f..b5c0095f 100755 --- a/nac3standalone/demo/interpret_demo.py +++ b/nac3standalone/demo/interpret_demo.py @@ -183,8 +183,10 @@ def patch(module): module.np_isinf = np.isinf module.np_min = np.min module.np_minimum = np.minimum + module.np_argmin = np.argmin module.np_max = np.max module.np_maximum = np.maximum + module.np_argmax = np.argmax module.np_sin = np.sin module.np_cos = np.cos module.np_exp = np.exp