Age | Commit message (Collapse) | Author |
|
Fix: 132323483
Fix: 132322175
Bug: 148423931
Test: mm
Change-Id: Idf80fa6abbca868d63130f8dbdd8a3a6c903a51b
|
|
Bug: 136739795
Bug: 142902514
Bug: 145300530
Test: mma
Change-Id: If3ce646d512b02daa78479aa7c75de99e20def21
|
|
TENSOR_QUANT8_ASYMM_SIGNED OperandType"" am: fe3aba71df am: fb6b5a0c69 am: 83076786f9"
This reverts commit f9bf17f998bf7d84038757fde8e4d3d3aee1b6cd.
Reason for revert: revert of a cherry-pick broke master
Change-Id: Ieaf5fe6387c890ff456c8cc8be6bae886936af36
|
|
This reverts commit af88effce1b911743d562f5490af2300c54f2349.
Reason for revert: the topic breaks git_qt-dev-plus-aosp
Change-Id: Iddfcffb76af61fb20d749902ddf9c960e211c69d
|
|
Bug: 139120468
Bug: 137828494
Test: NeuralNetworksTest_static and VtsHalNeuralnetworksV1_2TargetTest
Change-Id: Iefcaf09145753facb2dc58bbc48e1e597c658b7c
Merged-In: Iefcaf09145753facb2dc58bbc48e1e597c658b7c
(cherry picked from commit 61c871c81b610a240d33ed84a30c14d13b470935)
|
|
Prior to this CL, HalInterfaces.h polluted the global namespace through
the "using" declarations. This CL creates a new ::android::nn::hal
namespace and places the names there instead.
This CL also changes the namespace of the Callback objects from
::android::hardware::neuralnetworks::V1_2::implementation to
::android::nn to be consistent with the other parts of frameworks/ml/nn.
Fixes: 72880287
Test: mma
Change-Id: I399ad32f5c541a493429c6fa8e192169a903ea9f
Merged-In: I399ad32f5c541a493429c6fa8e192169a903ea9f
(cherry picked from commit 19af9d2d509621c0b07fb5a0f59abd0adb9de468)
|
|
go/allowlist. The terms “allowlist” and “blocklist” describe
their purpose, while the other words use metaphors to
decribe their purpose.
Test: NeuralNetworksTest_static
Bug: 132147842
Change-Id: I83e336ac822cdc412f76c46bc6913ccfadda72b6
Merged-In: I83e336ac822cdc412f76c46bc6913ccfadda72b6
(cherry picked from commit c8747bb09bd63bf7d4e01bd4625de05cd83bb6f8)
|
|
Whitelist is stored in /vendor/etc/nnapi_extensions_app_whitelist,
and contains list of android apps and binaries whitelisted for
vendor extensions usage. Each line of the file contains new entry.
If entry is prefixed by '/' slash, then it's a native binary path
(e.g. '/data/foo'). If not, it's a name of android app package
(e.g. 'com.foo.bar').
NNAPI CTS tests are always whitelisted
(/data/local/tmp/CTSNNAPITestCases).
On userdebug/end builds, '/data/nativetest*' and
'/data/local/tmp/NeuralNetworksTest_*' are whitelisted as well.
Bug: 120483623
Test: Flashed crosshatch, NNAPI cts tests
Change-Id: I1216b0e92f9de573db4b6effd6f2706cae8e855a
Merged-In: I1216b0e92f9de573db4b6effd6f2706cae8e855a
(cherry picked from commit 47c608b0f9c9c93a6c39de54616d22c2c5268f0c)
|
|
|
|
|
|
Enable use of NNAPI Vendor extensions in apps (and native binaries)
located on /product, /vendor, /odm and /data partitions.
Apps/binaries on /system partition are NOT able
to use NNAPI Vendor extension, even after update.
Apps/binaries on /product partition are able
to use NNAPI Vendor extension if system property
"ro.nnapi.extensions.deny_on_product" is not set
or empty.
GSI /product image sets this property to "true",
apps on it can't use NNAPI Vendor extensions.
Moved extensions use test from ModelBuilder to TypeManager,
so it's evaluated only once in app context.
Bug: 120483623
Test: NeuralNetworksTests_static
Change-Id: I17ba5b31b6819fff2bba41dcb1ecd25cb1815725
Merged-In: I17ba5b31b6819fff2bba41dcb1ecd25cb1815725
(cherry picked from commit c82e0e7230b20914a8646c4a7f2571275fb56d61)
|
|
This is an example of a vendor extension.
This extension also includes a CPU driver implementation so that we can make
sure our extension handling code paths work.
Bug: 118606713
Test: NeuralNetworksTest_static --gtest_filter="*Extension*"
Change-Id: Ibe0fc5356baa909bce8424138bd5cfac9f74648f
Merged-In: Ibe0fc5356baa909bce8424138bd5cfac9f74648f
(cherry picked from commit b2fe177d4820f9a755557079c0e349e8a5d629da)
|
|
Performance information in Capabilities is used by the runtime when
it selects the appropriate processor to distribute work to. Prior to
this CL, Capabilities can only distinguish between float and non-float
data types -- so, for example, float16 and float32 performance is
considered to be the same, and performance for all non-float data types
is considered to be the same.
Also:
- tweak some diagnostics
- fix bug in ::android::nn::wrapper::OperandType and
::android::nn::extension_wrapper::OperandType
copy constructor and assignment operator
Bug: 124041010
Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksV1_2TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.2::IDevice/sample-all
Change-Id: If3290542020ac1862bcd94bf3acddbc2e50109a6
Merged-In: If3290542020ac1862bcd94bf3acddbc2e50109a6
(cherry picked from commit cfed5dc7266565f24c9bfd52bb8b86933852d536)
|
|
Please see the commit message of change Ia9b99015eec7a48bbf969cbe503862271f09adca
for motivation.
Bug: 118604960
Bug: 118606929
Test: NeuralNetworksTest_static
Change-Id: I2703b963f040a846889554888ddd984eac6b6c08
Merged-In: I2703b963f040a846889554888ddd984eac6b6c08
(cherry picked from commit e86a07b8843c8c2c4daba891841fe34aa867bc58)
|