From c9f38f18b4f9d91f359a7b9d17928d328f5ddd57 Mon Sep 17 00:00:00 2001 From: Ved Patwardhan <54766411+vedpatwardhan@users.noreply.github.com> Date: Thu, 19 Oct 2023 09:30:09 +0530 Subject: [PATCH] fix: updated the version in numpy backend __init__ to 1.26.1 --- ivy/functional/backends/numpy/__init__.py | 24 +++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/ivy/functional/backends/numpy/__init__.py b/ivy/functional/backends/numpy/__init__.py index dc542e3dd6f5..8752de1a7311 100644 --- a/ivy/functional/backends/numpy/__init__.py +++ b/ivy/functional/backends/numpy/__init__.py @@ -81,7 +81,7 @@ def rep_method(self, ufunc, method, *inputs, **kwargs): # update these to add new dtypes valid_dtypes = { - "1.26.0 and below": ( + "1.26.1 and below": ( ivy.int8, ivy.int16, ivy.int32, @@ -99,7 +99,7 @@ def rep_method(self, ufunc, method, *inputs, **kwargs): ) } valid_numeric_dtypes = { - "1.26.0 and below": ( + "1.26.1 and below": ( ivy.int8, ivy.int16, ivy.int32, @@ -116,7 +116,7 @@ def rep_method(self, ufunc, method, *inputs, **kwargs): ) } valid_int_dtypes = { - "1.26.0 and below": ( + "1.26.1 and below": ( ivy.int8, ivy.int16, ivy.int32, @@ -127,11 +127,11 @@ def rep_method(self, ufunc, method, *inputs, **kwargs): ivy.uint64, ) } -valid_float_dtypes = {"1.26.0 and below": (ivy.float16, ivy.float32, ivy.float64)} +valid_float_dtypes = {"1.26.1 and below": (ivy.float16, ivy.float32, ivy.float64)} valid_uint_dtypes = { - "1.26.0 and below": (ivy.uint8, ivy.uint16, ivy.uint32, ivy.uint64) + "1.26.1 and below": (ivy.uint8, ivy.uint16, ivy.uint32, ivy.uint64) } -valid_complex_dtypes = {"1.26.0 and below": (ivy.complex64, ivy.complex128)} +valid_complex_dtypes = {"1.26.1 and below": (ivy.complex64, ivy.complex128)} # leave these untouched valid_dtypes = _dtype_from_version(valid_dtypes, backend_version) @@ -143,12 +143,12 @@ def rep_method(self, ufunc, method, *inputs, **kwargs): # invalid data types # update these to add new dtypes -invalid_dtypes = {"1.26.0 and below": (ivy.bfloat16,)} -invalid_numeric_dtypes = {"1.26.0 and below": (ivy.bfloat16,)} -invalid_int_dtypes = {"1.26.0 and below": ()} -invalid_float_dtypes = {"1.26.0 and below": (ivy.bfloat16,)} -invalid_uint_dtypes = {"1.26.0 and below": ()} -invalid_complex_dtypes = {"1.26.0 and below": ()} +invalid_dtypes = {"1.26.1 and below": (ivy.bfloat16,)} +invalid_numeric_dtypes = {"1.26.1 and below": (ivy.bfloat16,)} +invalid_int_dtypes = {"1.26.1 and below": ()} +invalid_float_dtypes = {"1.26.1 and below": (ivy.bfloat16,)} +invalid_uint_dtypes = {"1.26.1 and below": ()} +invalid_complex_dtypes = {"1.26.1 and below": ()} # leave these untouched