mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
feat: adding management of numpy.isfinite, numpy.isinf, numpy.isnan
refs #126
This commit is contained in:
committed by
Benoit Chevallier
parent
ab7cf24285
commit
4adb0eb18e
@@ -27,6 +27,7 @@ NUMPY_TO_COMMON_DTYPE_MAPPING: Dict[numpy.dtype, BaseDataType] = {
|
||||
numpy.dtype(numpy.uint64): Integer(64, is_signed=False),
|
||||
numpy.dtype(numpy.float32): Float(32),
|
||||
numpy.dtype(numpy.float64): Float(64),
|
||||
numpy.dtype(bool): Integer(32, is_signed=False),
|
||||
}
|
||||
|
||||
SUPPORTED_NUMPY_DTYPES = tuple(NUMPY_TO_COMMON_DTYPE_MAPPING)
|
||||
|
||||
@@ -230,9 +230,9 @@ class NPTracer(BaseTracer):
|
||||
# numpy.heaviside,
|
||||
# numpy.hypot,
|
||||
# numpy.invert,
|
||||
# numpy.isfinite,
|
||||
# numpy.isinf,
|
||||
# numpy.isnan,
|
||||
numpy.isfinite,
|
||||
numpy.isinf,
|
||||
numpy.isnan,
|
||||
# numpy.isnat,
|
||||
# numpy.lcm,
|
||||
# numpy.ldexp,
|
||||
|
||||
Reference in New Issue
Block a user