Skip to content

Bug in RecurrentGradienMachine's fillGenOutputs #3673

@wangkuiyi

Description

@wangkuiyi

When numResults == 1, path.ids are wrongly inserted into the beginning of generator_.ids. This is fine if the batchSize == 1, but will have an reverse batch if batchSize > 1. The .begin() should be changed to .end(). The original code '.begin()' must be a typo.

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