Skip to content

Performance issue in the definition of create_test_input, examples/slim/nets/resnet_v1_test.py #202

Open
@DLPerf

Description

@DLPerf

Hello, I found a performance issue in the definition of create_test_input, examples/slim/nets/resnet_v1_test.py, create_test_input is called by testDepthMultiplier and tf.to_float will created repeatedly during program execution, resulting in reduced efficiency. I think it should be created before the loop in create_test_input.

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

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