Skip to content
Commit 616acc60 authored by Robert Hughes's avatar Robert Hughes Committed by MatteoArm
Browse files

NNXSW-1697 Remove use of SubgraphView that may become invalid.



The mainSubgraph variable held references to layers in the optimised
graph that become invalid when a graph substitution is made.

The fix is to always use the optimised graph itself rather than a
view of it. The view served no purpose anyway.

!android-nn-driver:1221

Change-Id: I579f503827db8f7fcb01443237c9d888d496425f
Signed-off-by: Robert Hughes's avatarRob Hughes <robert.hughes@arm.com>
parent a723ec5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment