Fix the mismatch between compliantWith and validateModel.
* Check rank 0 operand in compliantWith * Check hardware buffer in compliantWith * Disallow hardware buffer for pre-1.2 model in validateModel * Add compliance tests for rank 0 tensor and hardware buffer Bug: 131845106 Test: NeuralNetworksTest_static Test: NeuralNetworksTest_static_fuzzing Test: Above tests with debug.nn.strict-slicing set to 1 Change-Id: I0e2f80f93074d15ea68ac5fd162ca9e70e128835
Loading
Please sign in to comment