Skip to content

Performance issues in the program Netword_training / SNN.py #5

Description

@DLPerf

Hello, I found some little performance issues in the program, Netword_training / SNN.py. correct_prediction and accuracy will be repeatedly created in the subsequent process, which will reduce the efficiency of the program. In order to avoid unnecessary overhead, I think both of them should be created before the loop body.

Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions