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

[microNPU] Introduce a pass to remove redundant identity operations #10254

Merged
merged 5 commits into from
Mar 8, 2022

Commits on Feb 28, 2022

  1. [microNPU] Introduce a pass to remove redundant identity operations

    Introduces a  pass that aims to remove identity operations,
    introduced during legalization, that are immediately followed by an NPU
    compute operation e.g. Convolution.
    
    Change-Id: Ia3b2c7bebf8cba1f827af8e3f3335677ba8f6371
    lhutton1 committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    867b519 View commit details
    Browse the repository at this point in the history
  2. fix lint

    Change-Id: Idf9341ce757b849f8819944dab2fb3b1496a2caf
    lhutton1 committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    e8ffea9 View commit details
    Browse the repository at this point in the history
  3. Addressing comments

    Changes in test_identity_optimizer.py:
    * Fixed typo in docstring
    * Removed print
    * Fixed same output test to use correct input shape
    
    Changes in codegen.cc:
    * Remove unnecessary constructor
    
    Change-Id: Ie4a053725110ce52d8be039ca1ce48084bc66545
    lhutton1 committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    4b1eb5e View commit details
    Browse the repository at this point in the history
  4. skip tests when required packages are not available

    Change-Id: I0a88d92dd31ca3dd07a2a495f18c10a2ebf2fc9e
    lhutton1 committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    6e760db View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2022

  1. support multiple output identities and add more tests

    Change-Id: Ib54031fe1c70159728876a23f96b72adb2ea17b0
    lhutton1 committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    31fff76 View commit details
    Browse the repository at this point in the history