75886e77f9ca074173a49283b5c0a8c182d98977 |
|
23-Jan-2018 |
Michael Butler <butlermichael@google.com> |
Upgrade NeuralNetworks v1.0 to v1.1. For Android P, the NNAPI is getting new operations. To support this change, the NN runtime needs to handle both v1.0 and v1.1. This change brings the NN runtime up to v1.1 and adds a VersionedIDevice class which manages both v1.0 and v1.1 calls. Test: mm Test: cts and vts test binaries Change-Id: Iaec1dcfe00c1712a0ac89954ae142d4ea126989d
/frameworks/ml/nn/common/operations/LSHProjection.h
|
8c689bdfc391e47854ec27bad0f9d685135af253 |
|
27-Sep-2017 |
Yang Ni <yangni@google.com> |
Add preparation code missed in some OPs Bug: 63905942 This updates speech model related OPs: Embedding Lookup, Hashtable Lookup, LSH Projection, LSTM, RNN, and SVDF. Deduce the shape of an output or intermediate tensor. Allocate memory if needed (i.e., not set by user). Validate inputs (dimensions, etc.) Minor cleanups related to the utility functions shared by these ops. Also made necessary fixes and implementations as discovered while doing this. Test: NeuralNetworksTest Change-Id: I7c0b789edb4d3565526d58905609d2023c1a5351
/frameworks/ml/nn/common/operations/LSHProjection.h
|
0831219b2763e7906d0f42bd15351a8e05c6f0ab |
|
01-Sep-2017 |
Yang Ni <yangni@google.com> |
Move operation files into subdirectory Bug: 63905942 The convention seems to have all CPU implmentation of OPs in the subdirectory nn/common/operations. This CL moves recently added speech/text related OPs to that directory. Test: unit tests of all moved ops on marlin Change-Id: I026aa94c58f6ee4e57e519781ee92d5792106de6
/frameworks/ml/nn/common/operations/LSHProjection.h
|