Skip to content

[WIP][QNN] Quantized fully connected - #3597

Closed
shoubhik wants to merge 56 commits into
apache:masterfrom
anijain2305:qfullyconnected
Closed

[WIP][QNN] Quantized fully connected#3597
shoubhik wants to merge 56 commits into
apache:masterfrom
anijain2305:qfullyconnected

Conversation

@shoubhik

Copy link
Copy Markdown
Contributor

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

shoubhikbhatti@gmail.comand 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
Copy Markdown
ContributorAuthor

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

@shoubhikshoubhik closed this Oct 1, 2019
@shoubhik

Copy link
Copy Markdown
ContributorAuthor

Another PR has been merged with these changes.

@shoubhikshoubhik reopened this Oct 1, 2019
@shoubhikshoubhik closed this Oct 1, 2019
@anijain2305
anijain2305 deleted the qfullyconnected branch November 13, 2019 00:30
Sign up for freeto 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

@shoubhik@anijain2305