Skip to content

Commit

Permalink
fix: updated the version in numpy backend __init__ to 1.26.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vedpatwardhan authored Oct 19, 2023
1 parent 95a7204 commit c9f38f1
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions ivy/functional/backends/numpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit c9f38f1

Please sign in to comment.