Age | Commit message (Collapse) | Author |
|
Bug: 155421116
Test: NeuralNetworksTest_static
Change-Id: I434d70e30b137a37febfab83127d79f9a6ecbae6
|
|
1. Adds bias dimension count validation.
2. Does more validation in validate().
Bug: 155575142
Bug: 155261461
Test: NNT_static --gtest_filter="*while_fib*"
Test: NNT_static --gtest_filter=ValidationTestDimensionProductOverflow2.DynamicOutputShapeOverflow
Change-Id: I7b70a29e76fdf99e656ee6e3867cfd97675cfeec
|
|
Fix: 148208229
Test: NNT_static
Change-Id: I853f1f294cedacb0cbb810042ef2a3466a072ffe
|
|
Bug: 149199424
Test: NNT_static
Test: VTS 1.3
Change-Id: I887be1b8530aad4568db9e75d3260b6b78884d23
|
|
Before this change, we only had tests with CONSTANT_COPY constant inputs
(the default). This change adds CONSTANT_REFERENCE counterparts of those
tests.
Bug: 137836124
Test: NNT_static
Change-Id: If6a0b897636f49b19ac7ccc1bc7ded3eee764744
|
|
|
|
Bug: 149199424
Test: NNT_static
Change-Id: If6ae373876fa309580198526d44018576a4ebdd1
|
|
The following construct is used to specify subgraph conversions:
converter = DataTypeConverter().Identify({
op1: (target_type, target_scale, target_zero_point),
...
subgraphOp: DataTypeConverter().Identify({
...
}),
})
Implicit conversion is supported as well.
Bug: 149199424
Test: NNT_static
Change-Id: I3f28d36159f19a50e50bc6f438bb98331f77a5f9
|
|
Also add rank check to HARD_SWISH validation.
This commit removes nnAssert from the utility function that converts
NNAPI Shape to TF Lite's RuntimeShape. The assert would cause a crash if
the function was passed a shape with rank > 4 even though RuntimeShape
supports such shapes.
Bug: 152945527
Bug: 139957496
Test: NNTest_static
Change-Id: I69147915669bee525c8883e48fd53ff0f899a501
|
|
Fix: 129571542
Test: NNTest_static
Change-Id: Ie94a0a36b1df10afff6a5269f9375f99bc6ffba7
|
|
|
|
The tests are taken from 1.2 test specs.
Fix: 152405977
Test: NNTest_static
Change-Id: I15ad10dd826ddd63476153e3982c5218947ae9c3
|
|
Added tests of DIV by zero. The tests exercise DIV by zero of all
supported data types in CTS/VTS and only expect runtime/drivers to not
crash.
Updated the reference implementation of INT32 DIV. Before this CL, the
reference implementation will crash with floating point exception. This
CL forces INT DIV by zero to return 0.
Fixes: 151151830
Test: NNT_static
Change-Id: I49f39c6ed41bab5d368498b37909de6a1c808d1e
|
|
|
|
Bug: 151433109
Bug: 149199424
Fix: 116355758
Test: NNT_static
Change-Id: Ib62c8270b85b0a75e532fe15b54e7ad7ea3636ba
|
|
* changes:
Document and test L2_NORMALIZATION with input of all zeros.
Add tests for corner cases of quant8 l2 norm.
|
|
* changes:
Add SQUEEZE with omitted axis in RGG.
Fix SQUEEZE with optional squeeze dims.
Add TRANSPOSE with omitted permutation to RGG.
Support omitted operand in RGG.
Enable RGG to generate a roi tensor of lifetime SUBGRAPH_INPUT.
|
|
Also added tests.
Fixes: 116355758
Fixes: 151775127
Test: NNT_static
Change-Id: I8904d7caf381970fc3b8869aa6aa09c03acbc6df
|
|
Fixes: 143985908
Test: NNT_static
Change-Id: I97e662612947895e0244a8242728d362c0063f89
|
|
The variation is used in control flow tests.
Bug: 149199424
Test: generate_all_tests.sh
Test: NNT_static
Change-Id: I542f7be5338d878a822f9ae69edea23e387fdf08
Merged-In: I542f7be5338d878a822f9ae69edea23e387fdf08
(cherry picked from commit 6883f803060f6dd81c90359ff6512845ad8b40ea)
|
|
This change
- adds "dimensions" type validation in the test generator,
- fixes incorrect usages,
- adds new control flow and QLSTM tests that were previously omitted
due to this bug,
- refactors QLSTM tests for readability and ease of maintenance, and
- updates README to use the new type format.
Fix: 151217992
Test: generate_all_tests.sh
Test: NNT_static
Change-Id: I55b47a7ff02cb5ec25150d6be322ee3dbe9dcf43
Merged-In: I55b47a7ff02cb5ec25150d6be322ee3dbe9dcf43
(cherry picked from commit 85f3703a1b159b88bbb9ac39993eba4658dc4fda)
|
|
Also fixes a minor typo.
Bug: 148938903
Test: NeuralNetworksTest_static
Change-Id: I44463611b258c6ee2345211abe11cbba5694610d
Merged-In: I44463611b258c6ee2345211abe11cbba5694610d
(cherry picked from commit a91b2175d5110656b759999209b5d7e6ec6f643b)
|
|
Bug: 136735929
Test: NNT_static
Change-Id: I2d688b3eac19a09cbbc1fbf423af8493aede26f1
|
|
This fixes segfaults for graphs where RANK output
is a graph internal variable.
Test: GeneratedTest.rank_internal_result
Fix: 150728111
Change-Id: I321d7d4df918d4ecba15af788696f2fbf7545110
|
|
Fix: 135147454
Test: NNTest_static
Change-Id: I058da4e420c31e71a02a0ea062b2deb9fda621cf
|
|
|
|
See change I642772d3.
Bug: 149554639
Bug: 145906499
Bug: 136735929
Test: m
Change-Id: Ibc92e97fabd57e38de22e1397677fdf8aba6bb95
|
|
Previoulsy, BIDIRECTIONAL_SEQUENCE_LSTM only supported cross-linking
mode, i.e. passing the regular and the auxiliary input to both the
forward and backward networks in the next BIDIRECTIONAL_SEQUENCE_LSTM op:
AUX_INPUT (AUX_INPUT_REVERSED)
| |
INPUT | (INPUT_R'D.)|
| | | |
-----------------------
| \ / \ / |
| FW_LSTM BW_LSTM |
-----------------------
| |
FW_OUT BW_OUT
This CL adds support for parallel linking of bidirectional sequence
LSTMs, where the regular input is passed only to the forward network and
the auxiliary input is passed only to the backward network:
INPUT (AUX_INPUT_REVERSED)
| |
---------------------
| FW_LSTM BW_LSTM |
---------------------
| |
FW_OUT BW_OUT
Fix: 138653129
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
Change-Id: Iba255c6377aa8f74d78e09c44c483ec406fe6539
|
|
Previoulsy, BIDIRECTIONAL_SEQUENCE_RNN only supported cross-linking
mode, i.e. passing the regular and the auxiliary input to both the
forward and backward networks in the next BIDIRECTIONAL_SEQUENCE_RNN op:
AUX_INPUT (AUX_INPUT_REVERSED)
| |
INPUT | (INPUT_R'D.)|
| | | |
-----------------------
| \ / \ / |
| FW_RNN BW_RNN |
-----------------------
| |
FW_OUT BW_OUT
This CL adds support for parallel linking of bidirectional sequence
RNNs, where the regular input is passed only to the forward network and
the auxiliary input is passed only to the backward network:
INPUT (AUX_INPUT_REVERSED)
| |
---------------------
| FW_RNN BW_RNN |
---------------------
| |
FW_OUT BW_OUT
Fix: 138653129
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
Change-Id: If08ba61d2bf24700a350ae234459f7f73e67e53e
|
|
Original tests: Ib371aeca
Also adds some new tests.
Bug: 148601177
Bug: 136735929
Test: generate_all_tests.sh
Test: NNT_static
Change-Id: Icf402cbd4172163ff3e9a4644804b2ef3dcf0743
|
|
* changes:
Add a state output for BIDIRECTIONAL_SEQUENCE_RNN
Add a state output for BIDIRECTIONAL_SEQUENCE_LSTM
Add a state output for UNIDIRECTIONAL_SEQUENCE_LSTM
Add a state output for UNIDIRECTIONAL_SEQUENCE_RNN
|
|
Bug: 148938903
Test: NeuralNetworksTest_static
Change-Id: Ia267a7f90bc49b79ef47121bed202ef81d982664
|
|
Bug: 138443991
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
Change-Id: Iabda8320facc253c273ea6edb9d0b24b3715c4f9
|
|
Bug: 138443991
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I4f3292a2426093a6534567812dffb71e126f21f9
|
|
Bug: 138443991
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I48b4eeeebf9a317efa2e05ee2caddb168bde5bb8
|
|
Bug: 138443991
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I87c4735b9ced983142cac502635c1a6a21deed0c
|
|
Fix: 148050168
Fix: 148049333
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I5438cdd7c0cc52e49067529edcee537278c8f7ad
|
|
Fix: 147482068
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I4436d47ec3b2f51ef9c17b0e061c065e92c410a0
|
|
Fix: 147481241
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
Change-Id: Ia6596dc9517a3c17d2b56439df658b1dca96d7dc
|
|
Bug: 142318767
Bug: 136735929
Test: NNT_static
Change-Id: Iede89032f584c94c7083069280c9afe1abb5df1e
|
|
Bug: 142318767
Bug: 136735929
Test: NNT_static
Change-Id: I105222e43802bc58562bb904bd9e9b306eb3697c
|
|
Bug: 142318767
Bug: 136735929
Test: NNT_static
Change-Id: I42d1d5874be6bc7ff11ecf33fd15ce9db539d1a3
|
|
|
|
Bug: 142318767
Bug: 136735929
Test: NNT_static
Change-Id: I10e7e93d5d58d2f53709ad7f993e10638d80cf56
|
|
Also adds support for TENSOR_QUANT8_ASYMM_SIGNED in Test Generator.
Bug: 144841609
Bug: 145916330
Test: NeuralNetworksTest_static
Change-Id: I14b0d284b1945833d532cbaa33c66e4d77afd8b7
|
|
The tests are written semi-automatically by joining all of the 1.0-1.2
tests with TENSOR_QUANT8_ASYMM operands and converting them to
TENSOR_QUANT8_ASYMM_SIGNED.
Also:
* Fix implementation of CONCATENATION op for zero-sized tensors
* Add support for TENSOR_QUANT8_ASYMM_SIGNED in test generator
Bug: 136735770
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I250dbe85684aa594892494eb53e6312c1cacb6f3
|
|
Fix: 143934742
Test: quantization coupling tests in CTS and VTS
Change-Id: I3be053e26686d5cd4a497a4e3390d746aedba758
|
|
Bug: 142318767
Bug: 136735929
Test: NNT_static
Change-Id: Iba4e807f0f32325fdd7c495ddc4bbcb4ea09a765
|
|
Adds identity casts for most tensor types.
Fixes: 143686800
Bug: 139181916
Test: NNT_static
Change-Id: I32fab27facb05b9cb5683e5f4e0b646a5c775da5
|