Skip to content

Commit

Permalink
Disable the NNAPI options temporarily for the speech/detection samples
Browse files Browse the repository at this point in the history
These samples use custom ops, which are not yet compatible with the
current NNAPI accelerator switch. When we switch to the new NNAPI
delegate, we can allow partial graph acceleration.

PiperOrigin-RevId: 237319788
  • Loading branch information
jdduke authored and copybara-github committed Mar 7, 2019
1 parent 4f372f1 commit 30a6f48
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,12 @@
android:layout_marginTop="10dp"
android:background="@android:color/darker_gray" />

<!-- TODO(b/112541284): Unhide when new NNAPI delegate is used. -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
android:orientation="horizontal"
android:visibility="gone">

<TextView
android:id="@+id/api"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,12 @@
android:layout_marginTop="10dp"
android:background="@android:color/darker_gray" />

<!-- TODO(b/112541284): Unhide when new NNAPI delegate is used. -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
android:orientation="horizontal"
android:visibility="gone">

<TextView
android:id="@+id/api"
Expand Down

0 comments on commit 30a6f48

Please sign in to comment.