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

Differentiate for loop condition expression #818

Merged
merged 1 commit into from
Jul 18, 2024

Commits on Jul 16, 2024

  1. Differentiate for loop conditions in reverse mode (vgvassilev#746)

    This change differentiates the loop condition expression.
    Additionaly if in forward pass a loop terminates pre-maturely due to break stmt.
    The reverse pass should start differentiation with break statment and
    not the loop condition differentiation. This change keeps track of whether the break
    was called in forward pass and based on that in reverse mode it is decided
    whether the loop differentiation is skipped for the first iteration or not.
    rohanjulka19 committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    3bd70e3 View commit details
    Browse the repository at this point in the history