OSDN Git Service

Add FusedActivationFunc enum and renamed certain operations.
authorMiao Wang <miaowang@google.com>
Fri, 8 Sep 2017 23:57:49 +0000 (16:57 -0700)
committerMiao Wang <miaowang@google.com>
Sat, 9 Sep 2017 06:00:23 +0000 (23:00 -0700)
commit199aa8641156f79d7d79971472efef6857412f18
tree60307bf74f1eba354de57d7cc654653788b21c88
parente1b1788b4d164d1689a46292404b60d8376e544b
Add FusedActivationFunc enum and renamed certain operations.

  - Add "_2D" to CONV, DEPTHWISE_CONV, AVG_POOL, MAX_POOL, and L2_POOL,
    since they are only supposed to do 2D computation.
  - Remove CAST, GATHER, SPLIT.
  - Also update the tests to reflect the changes.

Bug: 63905942
Test: mm
Test: NeuralNetworksTests pass for both CPU path and sample hidl driver.
Change-Id: I5bcf219c4c6cd4f866c1023d1f35cdc83ca69a85
neuralnetworks/1.0/types.hal
neuralnetworks/1.0/vts/functional/VtsHalNeuralnetworksV1_0TargetTest.cpp
neuralnetworks/1.0/vts/functional/VtsHalNeuralnetworksV1_0TargetTest.h