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: 14630088bc6b46e621cbccadb7ab99a327c4e056
  1. nn/
  2. Android.bp