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

Add m_RandomCoordinates to ImageRandomCoordinateSampler, and 5 other Sampler code style improvements #988

Merged
merged 6 commits into from
Nov 15, 2023

Conversation

N-Dekker
Copy link
Member

No description provided.

For a reference to non-const, it would not even be possible to initialize by a pair of empty braces `{}`. And it certainly is not intended.
Improved consistency between the Samplers
The three derived samplers (ImageRandomSampler, ImageRandomCoordinateSampler, ImageRandomSamplerSparseMask) now use a new mechanism to support UseMultiThread.
It appears easier for ImageRandomCoordinateSampler to have its own dedicated `m_RandomCoordinates`, instead of using m_RandomNumberList from its Superclass.
@N-Dekker N-Dekker merged commit eb2bd38 into main Nov 15, 2023
6 checks passed
@N-Dekker N-Dekker deleted the SamplerStyle branch November 15, 2023 17:31
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.

1 participant