Skip to content

Allow weights to be read during simulation #1012

@rowleya

Description

@rowleya

In the current code, it is possible only to read the weights once the simulation is completed. This is due to a check in Projection that the simulation "has_run". If the read is done between calling run and before the run has finished (this is particularly possible when run_forever has been called and another thread does the reading), the weights will not ever be read because of this check. It should instead check somehow that the weights have been generated already, and if so, read them straight from the machine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions