Skip to content

Conversation

@shoubhik
Copy link
Contributor

This PR is the implementation of pre-quantized fully connected op.

shoubhikbhatti@gmail.com and others added 30 commits July 8, 2019 12:12
Requantize converts one quantized tensor representation to another quantized
representation. The PR has following implementation features

- Requantize operator defined in qnn namespace - relay.qnn.requantize
- Lowering of the requantize to exisiting Relay operators
- Integer fixed point implementation of requantize
    - Two rounding modes - FE_UPWARDS (round towards infinity) and
    FE_AWAY_FROM_ZERO (std::round behavior)
- Floating point implementation as well, that can act as reference or can be
used for devices when FP32 computation is not used.
- Unit test cases

Relevant Issue - apache#2351

Credit to TFLite and GemmLowp to provide reference implementations.
Requantize converts one quantized tensor representation to another quantized
representation. The PR has following implementation features

- Requantize operator defined in qnn namespace - relay.qnn.requantize
- Lowering of the requantize to exisiting Relay operators
- Integer fixed point implementation of requantize
    - Two rounding modes - FE_UPWARDS (round towards infinity) and
    FE_AWAY_FROM_ZERO (std::round behavior)
- Floating point implementation as well, that can act as reference or can be
used for devices when FP32 computation is not used.
- Unit test cases

Relevant Issue - apache#2351

Credit to TFLite and GemmLowp to provide reference implementations.
@shoubhik
Copy link
Contributor Author

There is dependency on #3779. Once it is merged the test cases will pass. will wait for it,

@shoubhik shoubhik closed this Oct 1, 2019
@shoubhik
Copy link
Contributor Author

shoubhik commented Oct 1, 2019

Another PR has been merged with these changes.

@shoubhik shoubhik reopened this Oct 1, 2019
@shoubhik shoubhik closed this Oct 1, 2019
@anijain2305 anijain2305 deleted the qfullyconnected branch November 13, 2019 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants