No description
Find a file
David Gross 29d90d1455 "successful preparation means successful execution" guarantee neglects bad operation inputs
Under certain circumstances, we guarantee that a prepared model can be
executed successfully.  In describing those circumstances, we
neglected to specify that operation input operands must have legal
values for the guarantee to hold.  For example, the guarantee doesn't
hold if an ADD operation has an activation input that is not one of
the defined values; or if a RESHAPE operation has a shape input in
which two or more components are -1.

This change modifies the guarantee to apply only when operation input
operands have legal values.  It also documents this guarantee for
burst execution.

Note that if an operation has an input operand that can be proven to
have an illegal value at preparation time (e.g., a constant value that
is illegal), model preparation might (but is not required to) fail for
that reason.

Bug: 135933040

Test: $ cd neuralnetworks ; mma
Change-Id: I8b421550dd89e4bbbdae899e7cb5e9e88a46d2fb
(cherry picked from commit 48544cc38a)
2019-09-12 14:27:35 -07:00
atrace/1.0 Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
audio Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
authsecret/1.0 Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
automotive Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
biometrics Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
bluetooth Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
boot/1.0 Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
broadcastradio Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
camera Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
cas Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
compatibility_matrices Deprecate thermal@1.1 HAL for launching devices. 2019-08-23 09:32:34 -07:00
configstore Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
confirmationui Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
contexthub/1.0 Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
drm Remove unused libcrypto dependency. 2019-09-10 00:05:33 +01:00
dumpstate/1.0 Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
fastboot/1.0 Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
gatekeeper/1.0 Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
gnss Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
graphics Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
health Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
input Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
ir/1.0 Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
keymaster Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
light Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
media DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master 2019-07-09 15:22:03 -07:00
memtrack/1.0 Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
neuralnetworks "successful preparation means successful execution" guarantee neglects bad operation inputs 2019-09-12 14:27:35 -07:00
nfc Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
oemlock/1.0 Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
power Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
prebuilt_hashes power@1.3 is for P. 2019-04-23 12:51:21 -07:00
radio Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
renderscript/1.0 Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
secure_element Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
sensors Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
soundtrigger Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
tests Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
tetheroffload Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
thermal Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
tv Tuner HAL Demux Filter VTS 2019-09-06 22:40:40 +00:00
usb Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
vibrator Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
vr/1.0 Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
weaver/1.0 Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
wifi Remove unused libcrypto dependency. 2019-09-10 00:05:33 +01:00
.clang-format Replace clang-format with symlink. 2019-01-18 14:26:33 -08:00
Android.bp Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
CleanSpec.mk Remove configstore 1.2 2019-02-27 12:22:54 +09:00
current.txt "successful preparation means successful execution" guarantee neglects bad operation inputs 2019-09-12 14:27:35 -07:00
MODULE_LICENSE_APACHE2 Apache2 module license. 2016-08-30 11:28:36 -07:00
NOTICE Apache2 module license. 2016-08-30 11:28:36 -07:00
OWNERS Add restricted OWNERS for .hal/.aidl files. 2019-08-09 15:07:49 -07:00
PREUPLOAD.cfg Keymaster should be developed in AOSP 2019-08-01 15:52:53 -07:00
update-base-files.sh Adding Dataspace BT2020_SRGB and ColorMode BT2020_SRGB 2018-10-22 11:19:52 -07:00
update-makefiles.sh Remove update scripts for VTS makefiles. 2019-02-28 10:32:51 -08:00