• Adam Rogowiec's avatar
    [Fused] FakeQuantize operation. (#2928) · 36422810
    Adam Rogowiec authored
    * Draft of FakeQuantize operation along with UTs.
    
    * Add FakeQuantize to implemented operators on IGPU.
    
    * Get back FakeQuantize op case to switch.
    
    * Fix compilation errors.
    
    * Skip test for INTERPRETER backend and disable type_prop tests.
    
    * Initial implementation covering the most basic case
    
    * Cleanup of fake_quantize_with_clip UT
    
    * Reformat the cpu unit tests manifest and unlock anothe fake quant UT
    
    * Handle the clipping case by subtracting input_low from quantization input
    
    * Clip the input data before quantization to avoid Selects
    
    * UT manifest fix
    
    * Obsolete comment removed
    
    * Code formatting
    
    * Broadcast input data for non-scalar in/out params
    
    * Code formatting
    
    * Enable the type prop tests for FakeQuantize
    
    * Dequant the data without using the Dequantize op (fixes an edge case)
    36422810
type_prop.cpp 562 KB