Divide BBOX_TRANSFORM into 2 ops.
authorXusong Wang <xusongw@google.com>
Thu, 4 Oct 2018 22:03:13 +0000 (15:03 -0700)
committerPrzemyslaw Szczepaniak <pszczepaniak@google.com>
Wed, 10 Oct 2018 17:00:48 +0000 (17:00 +0000)
commitd4b00fc33285ac6606b16322a581a392bab2933d
tree1cfc6778f33f4101d6ba13794212d587c2b32257
parentf59720c6b85f93d2ddc94244eb66e805ea820636
Divide BBOX_TRANSFORM into 2 ops.

Divide BBOX_TRANSFORM op into 2 ops
- AXIS_ALIGNED_BBOX_TRANSFORM
- ROTATED_BBOX_TRANSFORM

Rotated bounding boxes use different tensor format than axis-aligned
bounding boxes, and it would be less confusing if they were represented
by a separate operator code.

Bug: 113562630

Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksV1_xTargetTest with sample driver
Change-Id: Ie08f2e0d0da77f6750766a394969653478d054d5
Merged-In: Ie08f2e0d0da77f6750766a394969653478d054d5
(cherry picked from commit d2bae1c268f8ef8e313441450e226d68ab515d9a)
neuralnetworks/1.2/types.hal