NNAPI: Clarify behaviour of REDUCE_* ops am: 4b2917a5ed

Change-Id: I17f4e08fc2bf43c05b2679d51556ff4a5772dfd3
This commit is contained in:
Lev Proleev 2020-05-20 01:04:44 +00:00 committed by Automerger Merge Worker
commit 7f872effec
3 changed files with 26 additions and 0 deletions

View file

@ -590,6 +590,7 @@ eb2fa0c883c2185d514be0b84c179b283753ef0c1b77b45b4f359bd23bba8b75 android.hardwar
fb382e986c10b8fbb797a8546e8f9ea6d1107bfe6f3fb7e57f6bbbf1f807a906 android.hardware.neuralnetworks@1.2::IDevice
40e71cd693de5b832325c5d8f081f2ff20a7ba2b89d401cee5b4b3eb0e241681 android.hardware.neuralnetworks@1.2::IPreparedModel
ee1a0dee5be00a6fe2d4d3270068c78016dcb194d768fe07ed894ea20904037f android.hardware.neuralnetworks@1.2::types
882b1c042ff842d7c52a794fab60bf6c599ef6b100ce99fa1772615096811d05 android.hardware.neuralnetworks@1.2::types # b/155508675
a785a57447a81e9c130eef6904c3a5c256076c6a04588c40620ebd6fa2660d77 android.hardware.radio@1.2::types
1a6e2bd289f22931c526b21916910f1d4c436b7acb9556e4243de4ce8e6cc2e4 android.hardware.soundtrigger@2.0::ISoundTriggerHwCallback
fd65298e1e09e0e3c781ab18305920d757dbe55a3b459ce17814ec5cf6dfee99 android.hardware.wifi@1.0::IWifiP2pIface
@ -641,6 +642,7 @@ ddcf89cd8ee2df0d32aee55050826446fb64f7aafde0a7cd946c64f61b1a364c android.hardwar
ee9dc34b9925b8367b1111c72bd6d9d375432735e451572ca5a665d8516a7744 android.hardware.neuralnetworks@1.3::IPreparedModel
eee3430cc86c97c7b407495863d8fb61da6f1a64b7721e77b9b4909b11b174e9 android.hardware.neuralnetworks@1.3::IPreparedModelCallback
acf84925f8ee0a651f2ec547ac334034de266479b93af5434f6c1f25e66aba96 android.hardware.neuralnetworks@1.3::types
07801d19ca8a4f20543dae6b4d0c4d8b87e5161d3c431e973a1839cb7915a666 android.hardware.neuralnetworks@1.3::types # b/155508675
3e01d4446cd69fd1c48f8572efd97487bc179564b32bd795800b97bbe10be37b android.hardware.wifi@1.4::IWifi
a64467bae843569f0d465c5be7f0c7a5b987985b55a3ef4794dd5afc68538650 android.hardware.wifi.supplicant@1.3::ISupplicant
44445b8a03d7b9e68b2fbd954672c18a8fce9e32851b0692f4f4ab3407f86ecb android.hardware.wifi.supplicant@1.3::ISupplicantStaIface

View file

@ -3872,6 +3872,8 @@ enum OperationType : int32_t {
*
* Outputs:
* * 0: A tensor of the same {@link OperandType} as input0.
* If all dimensions are reduced and keep_dims is false, the output
* shape is [1].
*/
REDUCE_ALL = 75,
@ -3897,6 +3899,8 @@ enum OperationType : int32_t {
*
* Outputs:
* * 0: A tensor of the same {@link OperandType} as input0.
* If all dimensions are reduced and keep_dims is false, the output
* shape is [1].
*/
REDUCE_ANY = 76,
@ -3924,6 +3928,8 @@ enum OperationType : int32_t {
*
* Outputs:
* * 0: A tensor of the same {@link OperandType} as input0.
* If all dimensions are reduced and keep_dims is false, the output
* shape is [1].
* For a {@link OperandType::TENSOR_QUANT8_ASYMM} tensor,
* the scale and zeroPoint must be the same as input0.
*/
@ -3953,6 +3959,8 @@ enum OperationType : int32_t {
*
* Outputs:
* * 0: A tensor of the same {@link OperandType} as input0.
* If all dimensions are reduced and keep_dims is false, the output
* shape is [1].
* For a {@link OperandType::TENSOR_QUANT8_ASYMM} tensor,
* the scale and zeroPoint must be the same as input0.
*/
@ -3980,6 +3988,8 @@ enum OperationType : int32_t {
*
* Outputs:
* * 0: A tensor of the same {@link OperandType} as input0.
* If all dimensions are reduced and keep_dims is false, the output
* shape is [1].
*/
REDUCE_PROD = 79,
@ -4005,6 +4015,8 @@ enum OperationType : int32_t {
*
* Outputs:
* * 0: A tensor of the same {@link OperandType} as input0.
* If all dimensions are reduced and keep_dims is false, the output
* shape is [1].
*/
REDUCE_SUM = 80,

View file

@ -4096,6 +4096,8 @@ enum OperationType : int32_t {
*
* Outputs:
* * 0: A tensor of the same {@link OperandType} as input0.
* If all dimensions are reduced and keep_dims is false, the output
* shape is [1].
*/
REDUCE_ALL = @1.2::OperationType:REDUCE_ALL,
@ -4121,6 +4123,8 @@ enum OperationType : int32_t {
*
* Outputs:
* * 0: A tensor of the same {@link OperandType} as input0.
* If all dimensions are reduced and keep_dims is false, the output
* shape is [1].
*/
REDUCE_ANY = @1.2::OperationType:REDUCE_ANY,
@ -4149,6 +4153,8 @@ enum OperationType : int32_t {
*
* Outputs:
* * 0: A tensor of the same {@link OperandType} as input0.
* If all dimensions are reduced and keep_dims is false, the output
* shape is [1].
* For a {@link OperandType::TENSOR_QUANT8_ASYMM} and
* {@link OperandType::TENSOR_QUANT8_ASYMM_SIGNED} tensor,
* the scale and zeroPoint must be the same as input0.
@ -4180,6 +4186,8 @@ enum OperationType : int32_t {
*
* Outputs:
* * 0: A tensor of the same {@link OperandType} as input0.
* If all dimensions are reduced and keep_dims is false, the output
* shape is [1].
* For a {@link OperandType::TENSOR_QUANT8_ASYMM} and
* {@link OperandType::TENSOR_QUANT8_ASYMM_SIGNED} tensor,
* the scale and zeroPoint must be the same as input0.
@ -4208,6 +4216,8 @@ enum OperationType : int32_t {
*
* Outputs:
* * 0: A tensor of the same {@link OperandType} as input0.
* If all dimensions are reduced and keep_dims is false, the output
* shape is [1].
*/
REDUCE_PROD = @1.2::OperationType:REDUCE_PROD,
@ -4233,6 +4243,8 @@ enum OperationType : int32_t {
*
* Outputs:
* * 0: A tensor of the same {@link OperandType} as input0.
* If all dimensions are reduced and keep_dims is false, the output
* shape is [1].
*/
REDUCE_SUM = @1.2::OperationType:REDUCE_SUM,