|
140 | 140 | atleast_2d, |
141 | 141 | atleast_3d, |
142 | 142 | broadcast_arrays, |
143 | | - broadcast_shapes, |
144 | 143 | broadcast_to, |
145 | 144 | can_cast, |
146 | 145 | column_stack, |
|
181 | 180 | tile, |
182 | 181 | transpose, |
183 | 182 | trim_zeros, |
184 | | - unique, |
185 | | - unique_all, |
186 | | - unique_counts, |
187 | | - unique_inverse, |
188 | | - unique_values, |
189 | 183 | unstack, |
190 | 184 | vsplit, |
191 | 185 | vstack, |
192 | 186 | ) |
193 | 187 |
|
194 | 188 | # ----------------------------------------------------------------------------- |
195 | | -# Binary operations |
| 189 | +# Bit-wise operations |
196 | 190 | # ----------------------------------------------------------------------------- |
197 | 191 | from .dpnp_iface_bitwise import ( |
198 | 192 | binary_repr, |
|
210 | 204 | ) |
211 | 205 |
|
212 | 206 | # ----------------------------------------------------------------------------- |
213 | | -# Functional routines |
| 207 | +# Functional programming |
214 | 208 | # ----------------------------------------------------------------------------- |
215 | 209 | from .dpnp_iface_functional import ( |
216 | 210 | apply_along_axis, |
|
375 | 369 | nanprod, |
376 | 370 | nansum, |
377 | 371 | ) |
378 | | - |
379 | 372 | from .dpnp_iface_statistics import convolve |
380 | | - |
381 | 373 | from .dpnp_iface_trigonometric import ( |
382 | 374 | arccos, |
383 | 375 | arccosh, |
|
424 | 416 | unwrap, |
425 | 417 | ) |
426 | 418 |
|
| 419 | +# ----------------------------------------------------------------------------- |
| 420 | +# Miscellaneous routines |
| 421 | +# ----------------------------------------------------------------------------- |
| 422 | +from .dpnp_iface_manipulation import broadcast_shapes |
| 423 | +from .dpnp_iface import get_include |
| 424 | + |
| 425 | +# ----------------------------------------------------------------------------- |
| 426 | +# Set routines |
| 427 | +# ----------------------------------------------------------------------------- |
| 428 | +from .dpnp_iface_manipulation import ( |
| 429 | + unique, |
| 430 | + unique_all, |
| 431 | + unique_counts, |
| 432 | + unique_inverse, |
| 433 | + unique_values, |
| 434 | +) |
| 435 | + |
427 | 436 | # ----------------------------------------------------------------------------- |
428 | 437 | # Sorting, searching, and counting |
429 | 438 | # ----------------------------------------------------------------------------- |
430 | 439 | from .dpnp_iface_counting import count_nonzero |
431 | | - |
432 | 440 | from .dpnp_iface_nanfunctions import nanargmax, nanargmin |
433 | | - |
434 | 441 | from .dpnp_iface_searching import ( |
435 | 442 | argmax, |
436 | 443 | argmin, |
437 | 444 | argwhere, |
438 | 445 | searchsorted, |
439 | 446 | where, |
440 | 447 | ) |
441 | | - |
442 | 448 | from .dpnp_iface_sorting import ( |
443 | 449 | argsort, |
444 | 450 | partition, |
445 | 451 | sort, |
446 | 452 | sort_complex, |
447 | 453 | ) |
448 | 454 |
|
449 | | -from .dpnp_iface_window import ( |
450 | | - bartlett, |
451 | | - blackman, |
452 | | - hamming, |
453 | | - hanning, |
454 | | - kaiser, |
455 | | -) |
456 | | - |
457 | 455 | # ----------------------------------------------------------------------------- |
458 | 456 | # Statistics |
459 | 457 | # ----------------------------------------------------------------------------- |
|
465 | 463 | histogram2d, |
466 | 464 | histogramdd, |
467 | 465 | ) |
468 | | - |
469 | 466 | from .dpnp_iface_nanfunctions import ( |
470 | 467 | nanmax, |
471 | 468 | nanmean, |
|
474 | 471 | nanstd, |
475 | 472 | nanvar, |
476 | 473 | ) |
477 | | - |
478 | 474 | from .dpnp_iface_statistics import ( |
479 | 475 | amax, |
480 | 476 | amin, |
|
492 | 488 | ) |
493 | 489 |
|
494 | 490 | # ----------------------------------------------------------------------------- |
495 | | -# DPNP iface functions |
| 491 | +# Window functions |
| 492 | +# ----------------------------------------------------------------------------- |
| 493 | +from .dpnp_iface_window import ( |
| 494 | + bartlett, |
| 495 | + blackman, |
| 496 | + hamming, |
| 497 | + hanning, |
| 498 | + kaiser, |
| 499 | +) |
| 500 | + |
| 501 | +# ============================================================================= |
| 502 | + |
| 503 | +# ----------------------------------------------------------------------------- |
| 504 | +# Helper functions |
496 | 505 | # ----------------------------------------------------------------------------- |
497 | 506 | from .dpnp_iface import ( |
498 | 507 | are_same_logical_tensors, |
|
502 | 511 | check_supported_arrays_type, |
503 | 512 | default_float_type, |
504 | 513 | get_dpnp_descriptor, |
505 | | - get_include, |
506 | 514 | get_normalized_queue_device, |
507 | 515 | get_result_array, |
508 | 516 | get_usm_ndarray, |
|
0 commit comments