Skip to content
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

locate, prod, tol #853

Merged
merged 3 commits into from
Feb 9, 2024
Merged

locate, prod, tol #853

merged 3 commits into from
Feb 9, 2024

Conversation

gertjanvanzwieten
Copy link
Contributor

@gertjanvanzwieten gertjanvanzwieten commented Feb 9, 2024

Backport of #851, partial backport of #852

This patch add support for locate on tensorial topologies, by moving the locate
implementation from TransformChainsTopology to the Topology base class. This is
mode possible by adding a new method _lower_args, as well as an implementation
of _Mul._sample. The Sample.zip method received a new optional ndims argument
to facilitate zipping of samples with varying dimensions.
Numpy.product is deprecated and will be replaced by numpy.prod as of Numpy 2.0.
@gertjanvanzwieten gertjanvanzwieten changed the title support locate on tensorial topologies locate, prod, tol Feb 9, 2024
@gertjanvanzwieten gertjanvanzwieten merged commit 5665a67 into release/8 Feb 9, 2024
23 of 24 checks passed
@joostvanzwieten joostvanzwieten deleted the bpo branch February 27, 2024 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants