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

Potential performance optimizations in the train subroutine #188

Open
3 tasks
rouson opened this issue Jul 30, 2024 · 0 comments
Open
3 tasks

Potential performance optimizations in the train subroutine #188

rouson opened this issue Jul 30, 2024 · 0 comments

Comments

@rouson
Copy link
Contributor

rouson commented Jul 30, 2024

  • Hoist the if (.not. allocated(...)) ... blocks into an initialization procedure and instead assert allocated status
  • Have caller provide a cost array that is of size num_mini_batches (make cost intent(inout))
  • Allocate pair_cost array of size maxval(size(mini_batches))
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

No branches or pull requests

1 participant