summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorLev Proleev <levp@google.com>2019-05-08 16:57:56 +0100
committerLev Proleev <levp@google.com>2019-05-15 14:57:34 +0100
commite61b7b98c9d4ec5dd20e58c72d99d8b6805707fe (patch)
tree9a9d512efc3077d0f5ed8f446d28845024358169 /identity/support/src/cppbor_parse.cpp
parent7ce975d03e443656b06b39031666c121de921aa4 (diff)
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 e0537f09fba5b52c40c540341d69ff18e4179323)
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions