Skip to content

Potential performance optimizations in the train subroutine #188

@rouson

Description

@rouson
  • 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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions