Skip to content

Add implementation of dpnp.histogram #1785

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ env:
test_dparray.py
test_copy.py
test_fft.py
test_histogram.py
test_linalg.py
test_logic.py
test_manipulation.py
Expand Down Expand Up @@ -49,6 +50,7 @@ env:
third_party/cupy/math_tests
third_party/cupy/sorting_tests/test_sort.py
third_party/cupy/sorting_tests/test_count.py
third_party/cupy/statistics_tests/test_histogram.py
third_party/cupy/statistics_tests/test_meanvar.py
VER_JSON_NAME: 'version.json'
VER_SCRIPT1: "import json; f = open('version.json', 'r'); j = json.load(f); f.close(); "
Expand Down
26 changes: 13 additions & 13 deletions doc/reference/statistics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,25 @@ Averages and variances
dpnp.median
dpnp.average
dpnp.mean
dpnp.var
dpnp.std
dpnp.var
dpnp.nanmean
dpnp.nanvar
dpnp.nanstd


Correlations
------------

.. autosummary::
:toctree: generated/
:nosignatures:

dpnp.corrcoef
dpnp.cov
dpnp.correlate


Histograms
----------

Expand All @@ -47,15 +59,3 @@ Histograms
dpnp.bincount
dpnp.histogram_bin_edges
dpnp.digitize


Correlations
------------

.. autosummary::
:toctree: generated/
:nosignatures:

dpnp.corrcoef
dpnp.cov
dpnp.correlate
3 changes: 3 additions & 0 deletions dpnp/dpnp_iface.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
from dpnp.dpnp_iface_bitwise import __all__ as __all__bitwise
from dpnp.dpnp_iface_counting import *
from dpnp.dpnp_iface_counting import __all__ as __all__counting
from dpnp.dpnp_iface_histograms import *
from dpnp.dpnp_iface_histograms import __all__ as __all__histograms
from dpnp.dpnp_iface_indexing import *
from dpnp.dpnp_iface_indexing import __all__ as __all__indexing
from dpnp.dpnp_iface_libmath import *
Expand Down Expand Up @@ -111,6 +113,7 @@
__all__ += __all__arraycreation
__all__ += __all__bitwise
__all__ += __all__counting
__all__ += __all__histograms
__all__ += __all__indexing
__all__ += __all__libmath
__all__ += __all__linearalgebra
Expand Down
Loading