Added quantized mobilenet to VTS and refactoring generators

Quantized mobilenet was not able to run correctly in VTS as it has large
weights that couldn't be passed through HIDL without using shared memory.

Updated the test generator so it can optionally pass the weights via
shared memory (by setting Configuration.use_shm_for_weights to True).

Separated the VTS backend from the main test generator as a code
cleanup.

Also removed the blacklisting code in generate_vts_test.sh and checked
in the generated VTS model for mobilenet_quanitzed.

Test: unit tests and VTS on Sailfish
Bug: 67753688
Bug: 67603060
Change-Id: I891422461d3c2a0e7ca117bf15dc0a8cbd5e8785
8 files changed
tree: c7004eb0126d423db8eb73683e604c1b791b0c09
  1. nn/
  2. Android.bp