Commit 4a23239
Leverage on dpctl implementation of
* Leverage on dpctl shape.setter for any input
* Mute false-positive pylint issue
* Remove disable=invalid-unary-operand-type since resolved with pylint 3.2.6
* Implement `dpnp.nan_to_num()` (#1966)
* Implement dpnp.nan_to_num()
* Update cupy tests for nan_to_num()
* Add dpnp tests
* Skip test_nan_to_num_scalar_nan
* Applied review comments
* Add more tests for nan_to_num()
* Improve perfomance using out empty_like array
* Add checks for nan, posinf, neginf args
* Add type check for nan, posinf and neginf
* Update tests
* Add support boolean type
* Apply suggestions from code review
Co-authored-by: vtavana <120411540+vtavana@users.noreply.github.com>
* Corrected a link in docstring
* Updated wring indention
---------
Co-authored-by: vlad-perevezentsev <vladislav.perevezentsev@intel.com>
Co-authored-by: vtavana <120411540+vtavana@users.noreply.github.com>shape.setter (#1975)1 parent 6ae16ce commit 4a23239
2 files changed
+51
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1284 | 1284 | | |
1285 | 1285 | | |
1286 | 1286 | | |
1287 | | - | |
| 1287 | + | |
1288 | 1288 | | |
1289 | | - | |
1290 | | - | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
1291 | 1294 | | |
1292 | | - | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
1293 | 1326 | | |
1294 | 1327 | | |
1295 | 1328 | | |
| |||
1300 | 1333 | | |
1301 | 1334 | | |
1302 | 1335 | | |
1303 | | - | |
1304 | | - | |
1305 | | - | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
1306 | 1339 | | |
1307 | | - | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
1308 | 1343 | | |
1309 | | - | |
| 1344 | + | |
1310 | 1345 | | |
1311 | | - | |
1312 | | - | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
1313 | 1353 | | |
1314 | 1354 | | |
1315 | 1355 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
551 | 551 | | |
552 | 552 | | |
553 | 553 | | |
554 | | - | |
555 | 554 | | |
556 | 555 | | |
557 | 556 | | |
| |||
1062 | 1061 | | |
1063 | 1062 | | |
1064 | 1063 | | |
1065 | | - | |
1066 | 1064 | | |
1067 | 1065 | | |
1068 | 1066 | | |
| |||
0 commit comments