Explicitly add "_2D" to applicable ops, and add fused activation
function enum.

  - Add the fused activation enum to explicitly set the expectation that
    only the included ones are supported for fused ops.
  - Add "_2D" to CONV, DEPTHWISE_CONV, AVG_POOL, MAX_POOL, and L2_POOL,
    since they are only supposed to do 2D computation.
  - Updated the tests and the stack to plumbing the changes through.

Bug: 63905942
Test: mm
Test: NeuralNetworksTests pass for both CPU path and sample hidl driver.
Change-Id: I60aeabab1d193d26d938c0d1d3ffdd519740d222
27 files changed
tree: 57744b64263f342d2aa6e7928a623cdd79e20bce
  1. common/
  2. driver/
  3. runtime/
  4. tools/
  5. Android.bp
  6. README.txt