Log the reason for operand dimension incompatibility

Before this change, the only logcat message was "Invalid dimensions for model
operand", which is not very helpful.

Bug: 118606713
Test: NeuralNetworksTest_static
Test: NeuralNetworksTest_FibonacciExtension
Change-Id: I220b6b5b117d51bae5924d442f7449aa4aaabe4b
Merged-In: I220b6b5b117d51bae5924d442f7449aa4aaabe4b
(cherry picked from commit 1463353de2eec9b4e7179780f4962cd7e99743a0)
1 file changed