Commit a69b9cc0 authored by Lev Proleev's avatar Lev Proleev
Browse files

Generalize TRANSPOSE_CONV_2D op to support input product scale > output scale

To be consistent with other convolution ops we have.
TF Lite removed input/output scale restrictions to support additional
use cases for its quantized convolution operations: CONV_2D and
DEPTHWISE_CONV_2D. NN API additionally supports quantized
TRANSPOSE_CONV_2D and GROUPED_CONV_2D. This change relaxes restrictions
on quantized TRANSPOSE_CONV_2D to make it consistent with quantized
CONV_2D and DEPTHWISE_CONV_2D.
This is a superset of existing TRANSPOSE_CONV_2D functionality.

Bug: 127427474
Test: NeuralNetworksTest_static
Change-Id: Ia910aca58650d1d27db446064924a770cbfcdd0e
Merged-In: Ia910aca58650d1d27db446064924a770cbfcdd0e
(cherry picked from commit 30a2edb2)
parent c89f63f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment