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

Get the current batch, rep, and overall index #203

Open
wlandau opened this issue Nov 21, 2024 · 0 comments
Open

Get the current batch, rep, and overall index #203

wlandau opened this issue Nov 21, 2024 · 0 comments
Assignees

Comments

@wlandau
Copy link
Member

wlandau commented Nov 21, 2024

In tar_rep(), tar_map_rep(), etc., it is sometimes useful to know the batch number, rep number, and overall index number (batch * (batch_size - 1) + rep). For example, sometimes a user may want to set a custom seed this way. Implementation for tar_rep() and tar_map_rep() is straightforward, I'll need to look back at the other target factories that may also benefit.

@wlandau wlandau self-assigned this Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant