platform_hardware_interfaces/neuralnetworks
Lev Proleev e61b7b98c9 Fix LSTM documentation
The documentation said that cell-to-input weights are required to be
present when input-to-input weights, recurrent-to-input weights and
input gate bias are present. This was incorrect since this weights can
be omitted if peephole connections are not used even if all the other
tensors are present.

Another bug that is fixed in this change is that for output #0 the docs
said "of shape [batch_size, num_units * 4] with CIFG, or [batch_size,
num_units * 3] without CIFG" when in fact it is the opposite, i.e.  "of
shape [batch_size, num_units * 3] with CIFG, or [batch_size, num_units *
4] without CIFG."

Existing CTS/VTS tests expect behaviour described in the fixed documentation.
Existing CPU implementation is also compliant with the fixed documentation.

Fix: 111842951
Test: mma
Change-Id: Id011783e33672ae65dc6fe3784cb26feb832acf9
Merged-In: Id011783e33672ae65dc6fe3784cb26feb832acf9
(cherry picked from commit e0537f09fb)
2019-05-15 14:57:34 +01:00
..
1.0 Fix LSTM documentation 2019-05-15 14:57:34 +01:00
1.1 Follow up CL to "Add validation tests for NNAPI Burst serialized format" 2019-05-08 22:46:10 +00:00
1.2 Fix LSTM documentation 2019-05-15 14:57:34 +01:00
README Add README to NeuralNetworks HAL 2018-03-05 12:59:35 -08:00
TEST_MAPPING Add presubmit tests to NNAPI -- hardware/interfaces/neuralnetworks 2019-02-19 12:04:24 -08:00

NeuralNetworks sample driver implementation is located at
frameworks/ml/nn/driver/sample.