forked from M-Labs/nac3
1
0
Fork 0

add np_argmin/argmax to interpret_demo environment

This commit is contained in:
Sebastien Bourdeauducq 2024-07-12 13:27:52 +02:00
parent 513d30152b
commit c80378063a
1 changed files with 2 additions and 0 deletions

View File

@ -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