aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-07-07Snap for 10447354 from 2644c2c0081562f5ee815b06e2bda4ec5f280a7d to ↵aml_tet_341712060aml_tet_341610020aml_tet_341511010aml_tet_341411060aml_tet_341310230aml_tet_341112070aml_tet_341010040aml_tet_340913030android14-mainline-tethering-releaseAndroid Build Coastguard Worker
mainline-tethering-release Change-Id: I3416ec360cacc9a37c13f1d434d01f64893c50a3
2023-05-04Snap for 10066519 from 4023c8ad2fffa15449341a4d5a23e131cb62ab1f to ↵aml_tet_331910040Android Build Coastguard Worker
mainline-tethering-release Change-Id: I63642409aa1fe7691df7e8aa44f5358bea87fee1
2023-04-24[automerge] Use custom op resolver to unblock the "UNSORTED_SEGMENT_PROD". ↵Presubmit Automerger Backend
Migrate 2p: 4023c8ad2f am: 70c43f65ce Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tflite-support/+/22499388 Change-Id: I3e6bb25f50285d2c6f4c91b4805215900fe73ec3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21[automerge] Use custom op resolver to unblock the "UNSORTED_SEGMENT_PROD". ↵android14-devPresubmit Automerger Backend
Migrate 2p: 4023c8ad2f Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tflite-support/+/22499388 Bug: 276493577 Change-Id: I93c90830c59c47ffd63dab70905a34ba6cbe8afb
2023-04-21Use custom op resolver to unblock the "UNSORTED_SEGMENT_PROD". Migratexufan
the unsorted_segment ops from tensorflow to tflite-support to build rb resolver. Test: atest OnDeviceClassifierTest, TfliteSupportClassifierTests Bug: 276493577 Change-Id: I0f6c65c617565056d0a22a7df991f09fbdafb43a
2023-03-01Snap for 9669149 from 55d84e75c29f45f9a277c01be46f19edef4e76c9 to ↵aml_tet_331820050aml_tet_331711040android13-mainline-tethering-releaseAndroid Build Coastguard Worker
mainline-tethering-release Change-Id: I32b3731da195171d97a23fea0ed330ffe20a6bbb
2023-02-23Adds a minimal op-resolver for Rubidium's usage. am: 55d84e75c2 am: 8352230f05fban
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tflite-support/+/20512608 Change-Id: Ifebd3d698db2d68a650ee652c74ee7932d6f06ef Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23Adds a minimal op-resolver for Rubidium's usage. am: 55d84e75c2fban
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tflite-support/+/20512608 Change-Id: I4171711890398f485376ef681faebc5c549785e6 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-19(TM-MP) Rb back compat: Base changes (go/rbc-design) am: 4dd11643c3 am: ↵Neha Pattan
16c38202db Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tflite-support/+/21481779 Change-Id: I56a4f74c93c5abe49081cf14dfdb112983e74052 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17Adds a minimal op-resolver for Rubidium's usage.fban
This change adds a custom op-resolver that only includes the necessary ops for the bert_nl_classifier and rb_model test models. This gives the Rb team the opportunity for ~1M savings in their binary size. For now, the actual classifier build target still uses the builtin_op_resolver. Later, we can investigate how to set up native build targets that can accept op-resolver dependencies at link-time for greater flexibility (like we use in Bazel). Before and after (gpaste): 4845371938308096 Test: atest OnDeviceClassifierTest Bug: 238435760 Change-Id: I6ca794fed5cf1cd3ffc0612a60754e4bbea9fc8f
2023-02-17(TM-MP) Rb back compat: Base changes (go/rbc-design) am: 4dd11643c3Neha Pattan
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tflite-support/+/21185750 Change-Id: I95fad2d4ff797588411a110af2a759c9c4dd03ca Merged-In: I8f28b040168cd7049bec52bd8e5a9c1332686c0f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> Bug: 263816046 Ignore-AOSP-First: Automerger fix
2023-02-08(TM-MP) Rb back compat: Base changes (go/rbc-design)Neha Pattan
Bug: 263816046 Test: manual Change-Id: I7473ff7e3304a1e33110e6553592b3fc6aa04751
2022-11-28Snap for 9333799 from df43288acfb34d7029bd50ad3869c9d50c29afae to ↵aml_tet_331511160aml_tet_331511000aml_tet_331412030Android Build Coastguard Worker
mainline-tethering-release Change-Id: I97a5fdf6146bf80584d34ab25fb4096c29db11f1
2022-11-16[automerge] Adds missing OpResolver calls to the BertNLClassifier JNI layer. ↵fban
2p: df43288acf Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tflite-support/+/20489729 Bug: 238435760 Change-Id: I469b27183644e555b25104511b18e1208f308871
2022-11-16Adds missing OpResolver calls to the BertNLClassifier JNI layer.fban
This is a necessary prerequisite in order to support a custom op-resolver for Rubidium. Test: atest OnDeviceClassifierTest Bug: 238435760 Change-Id: I932153486e7bf561cd674342b868080c11b292e6
2022-10-27Snap for 9224945 from 0320ce8084721a759e7d2e6965d17540eeec8c36 to ↵aml_tet_331312080Android Build Coastguard Worker
mainline-tethering-release Change-Id: I2928e8085416cb7608956b047080439a9854e85c
2022-09-16[automerge] Add a TODO to use linker_scripts for 2p: 0320ce8084Neha Pattan
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tflite-support/+/19978374 Bug: 246460620 Change-Id: Ifb6f997dceeb273ce27bcf3816a141ffae14717f
2022-09-16Add a TODO to use linker_scripts forNeha Pattan
libtflite_support_classifiers_native. Bug: 246460620 Test: n/a (comment). Change-Id: I3bdda9e6ef9d007e0678ce20e95333ea52bebb66
2022-09-16Merge "Native code optimize for libtflite_support_classifiers_native." into ↵Neha Pattan
tm-mainline-prod am: 7eb974374a Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tflite-support/+/19971529 Change-Id: Iae183156755177aa0d3d71e4d18de8c447377c84 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-16Merge "Native code optimize for libtflite_support_classifiers_native." into ↵Neha Pattan
tm-mainline-prod
2022-09-16[automerge] Native code optimize for libtflite_support_classifiers_native. ↵Presubmit Automerger Backend
2p: e5209b29c6 Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tflite-support/+/19971529 Bug: 246460620 Change-Id: Iefc20c8bf5923d5d0acfb41f5777633239088389
2022-09-16Native code optimize for libtflite_support_classifiers_native.Neha Pattan
Bug: 246460620 Test: atest OnDeviceClassifierTest Change-Id: Id925b07661113e063107a18a4bb781c5072d3275
2022-09-12Snap for 9051176 from abaa5ec61b7e9ee979f9c2f1f596d4fa85bbabeb to ↵aml_tet_331117000Android Build Coastguard Worker
mainline-tethering-release Change-Id: I03dabb82731213930e9e7dc968b38c00b4aca27a
2022-09-09[automerge] Adds a sanity check. 2p: abaa5ec61bfban
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tflite-support/+/19586649 Bug: 241507692 Change-Id: Ia0c4122c012023fc7a77fbb45e821312bfb9e499
2022-09-09Adds a sanity check.fban
Missing this check was causing an ASAN error in G3. Adding it in AOSP as well to be principled. Bug: 241507692 Test: atest TfliteSupportClassifierTests Change-Id: Ib0cf3893a08bace5584ede745324dd7bf50644ab
2022-09-08[automerge] Adds a dynamic input tensor model to the BertNLClassifier Java ↵Presubmit Automerger Backend
test. 2p: 589eb63fba Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tflite-support/+/19888344 Bug: 241507692 Change-Id: I451f5714045dd9c9c064f7121ec16a86765e3432
2022-09-08Adds a dynamic input tensor model to the BertNLClassifier Java test.fban
The model is provided by the Android Rubidium team (G3 Path: google3/wireless/android/adservices/mdd/topics_classifier/2/model.tflite). The hope is that future changes to external/tflite-support can be sanity checked by this unit test before impacting the Rubidium team's repo. Bug: 241507692 Test: atest TfliteSupportClassifierTests Change-Id: I371c4ce822a4650db37083e16e7d6e2fba44c17c
2022-09-02[automerge] Revert "Revert "Return StatusOr from Classify() methods"" 2p: ↵Presubmit Automerger Backend
6d4f359d96 Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tflite-support/+/19832453 Change-Id: I15ad38b90e6facda7c898e061f1d0e9cf1e507d3
2022-09-02Revert "Revert "Return StatusOr from Classify() methods""Frank Ban
This reverts commit 3833ec635c75655725d3e325a0850572892a6735. Reason for revert: Undoing the change to bert_nl_classifier.cc fixes the system failures seen with the new Rb targetting model. Test: atest TfliteSupportClassifierTests Change-Id: Iaeb3e40fa66d1387cf5458aa4d531b003e529c46
2022-09-02Snap for 9021447 from 3833ec635c75655725d3e325a0850572892a6735 to ↵Android Build Coastguard Worker
mainline-tethering-release Change-Id: If38d236a4edda9a91d722c9d06e237ab76ed711e
2022-08-24Merge changes from topic ↵Ben Nissan
"revert-19678847-presubmit-am-86cd332fad154163bed53094e7663a44-ABRAGNUVCT" * changes: [automerge] Revert "Return StatusOr from Classify() methods" 2p: 3833ec635c Revert "Return StatusOr from Classify() methods"
2022-08-24[automerge] Revert "Return StatusOr from Classify() methods" 2p: 3833ec635cBen Nissan
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tflite-support/+/19724704 Change-Id: I3406ded4d063f58c67fca75be0c3077d0023c55c
2022-08-24Revert "Return StatusOr from Classify() methods"Ben Nissan
Revert submission 19678847-presubmit-am-86cd332fad154163bed53094e7663a44 Reason for revert: Potentially causing system failures within AdServices (e.g.: https://android-build.googleplex.com/builds/tests/view?invocationId=I42200010083746944&testResultId=TR21628220208011705), needs further testing. Reverted Changes: Ib77b4dc3d:[automerge] Return StatusOr from Classify() method... Ib93385061:Return StatusOr from Classify() methods Change-Id: If4e35b536508bf1b39fffb6f0964c13de5d21b47
2022-08-24Revert "[automerge] Return StatusOr from Classify() methods 2p: ..."Ben Nissan
Revert "Return StatusOr from Classify() methods" Revert submission 19678847-presubmit-am-86cd332fad154163bed53094e7663a44 Reason for revert: Potentially causing system failures within AdServices (e.g.: https://android-build.googleplex.com/builds/tests/view?invocationId=I42200010083746944&testResultId=TR21628220208011705), needs further testing. Reverted Changes: Ib77b4dc3d:[automerge] Return StatusOr from Classify() method... Ib93385061:Return StatusOr from Classify() methods Change-Id: Ifabfdfff0092607179d7f70a589fa8dccfc5e77e
2022-08-23[automerge] Return StatusOr from Classify() methods 2p: 9fc1fcbd22Presubmit Automerger Backend
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tflite-support/+/19678847 Bug: 242926638 Change-Id: Ib77b4dc3da1d92570d61a73738771bc4f6b9b194
2022-08-23Return StatusOr from Classify() methodsBen Nissan
This CL updates the Classify() methods in NLClassifier and BertNLClassifier to return StatusOr wrappers for their contents, allowing errors to be propagated across the JNI boundary. To enable this, it fixes a bug when checking for dynamic vs static input tensors in bert_nl_classifier.cc and throws exceptions from RunClassifier(). Bug: 242926638, Bug: 242926783 Test: atest tflite_support_classifier_tests Test: atest TfliteSupportClassifierTests Change-Id: Ib93385061ace97cf96a168e3d76d2d9162c8055f
2022-08-11Snap for 8933958 from e4266a8951b0f53a80bc54392276c355583c0a53 to ↵aml_tet_331012080Android Build Coastguard Worker
mainline-tethering-release Change-Id: Idd95cfa44b4347f5e510f3941cd4c829ae63ceac
2022-08-08[automerge] Supports dynamic tensor inputs in BertNLClassifier. 2p: e4266a8951Presubmit Automerger Backend
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tflite-support/+/19536078 Bug: 241507692 Change-Id: I9c9010f13f037d1b3c3fb7547c737a477ecc0313
2022-08-08Supports dynamic tensor inputs in BertNLClassifier.fban
Also updates the native build rule to use builtin_op_resolver instead of minimal_op_resolver. Bug: 241507692 Test: atest TfliteSupportClassifierTests Change-Id: If93f9f975b5f2971d4d72d781c765d8e36ea76cd
2022-08-05Snap for 8909719 from d9225b59b17a34d7c0004a7232ad20ef36309e64 to ↵Android Build Coastguard Worker
mainline-tethering-release Change-Id: Ie00ffbb5d62ebbad674da469fbf3d1bdb1dbb272
2022-07-18[automerge] Adds proguard flags to TFLite Support. 2p: d9225b59b1fban
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tflite-support/+/19327031 Change-Id: I706b557249d338baef7102e2e32d66fb4c8c606e
2022-07-18Adds proguard flags to TFLite Support.fban
Test: atest TopicsManagerTest; atest TfliteSupportClassifierTests Change-Id: Ia5e09e722e9495722937dfdae2c75bbe62702b2a
2022-07-15Merge "Use custom op resolver for NL classifiers" into tm-mainline-prod am: ↵Ben Nissan
34ba670c76 Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tflite-support/+/19263273 Change-Id: Ief7da221b2425ff8fdba186d750aae007b968670 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-15Merge "Use custom op resolver for NL classifiers" into tm-mainline-prodBen Nissan
2022-07-14[automerge] Use custom op resolver for NL classifiers 2p: 5d1e591a33Presubmit Automerger Backend
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tflite-support/+/19263273 Bug: 238435760 Change-Id: Ife86104766651782b09ce99b9d7b0d22f0b86a6e
2022-07-14Use custom op resolver for NL classifiersBen Nissan
This CL implements a custom, minimal op resolver containing only the TensorFlow ops required by NLClassifier and BertNLClassifier, and replaces the BuiltInOpResolver currently used in these classes with the new MinimalOpResolver. Bug: 238435760 Test: atest TfliteSupportClassifierTests [From AdServices] atest OnDeviceClassifierTest Change-Id: Ifef01e79228ad369fb16a8f5e3a1b154e3f7998f
2022-07-12[automerge] Updates metadata schema and version in AOSP. 2p: f5a5d1ca8afban
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tflite-support/+/19271429 Bug: 236080613 Change-Id: Ia720b755a26b51733409705d2f33faf9f3d31ab6
2022-07-12Updates metadata schema and version in AOSP.fban
This CL mirrors some changes in cl/459345564 to keep google3 and AOSP in sync. Bug: 236080613 Test: atest OnDeviceClassifierTest; atest TopicsManagerTest Change-Id: I871958625753a669c89c8e18d91ac33336e405c1
2022-06-21Snap for 8748207 from 456bf98dcc1a98a825c0d34cb374ba8bbf73083a to ↵aml_tet_330911010aml_tet_330812150Android Build Coastguard Worker
mainline-tethering-release Change-Id: If474b76def8b82dfaf18f3ad5086c3ef3f64d8d6
2022-06-15[automerge] Add version to AssociatedFile metadata 2p: 456bf98dccPresubmit Automerger Backend
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/tflite-support/+/18748916 Bug: 232807230 Change-Id: I325255aa5fe773a09e82f51a1f226e805cc0234c