Commit 5d40f5eb authored by Miao Wang's avatar Miao Wang
Browse files

Make fully_connected op use reference implementation in certain cases.

   - The optimized implementation will generate incorrect results when
     batch_size > 1 and the number of input elements is the square of
     batch_size.
   - This change makes fully_connected fallback to reference
     impelementation in this cases.
   - The bug only affects float32 path.

Bug: 80425683
Bug: 109805089
Test: mma
Test: NeuralNetworksTest_static --gtest_filter=*fully*
Merged-In: Ib1aa9fb47e536c64756b4ff3904def5bb4fe0f48
Change-Id: Ib1aa9fb47e536c64756b4ff3904def5bb4fe0f48
(cherry picked from commit c78d7cc2)
parent 89e08c06
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment