Skip to content

Commit

Permalink
Fix the external/internal object definitions order when link is const…
Browse files Browse the repository at this point in the history
…ructed.

PiperOrigin-RevId: 306723147
Change-Id: Ie63ba064e0792425b44e276eca031787b793c9f4
  • Loading branch information
tensorflower-gardener committed Apr 15, 2020
1 parent 511b61e commit dffe6a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow/lite/delegates/gpu/gl/api2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ class InferenceBuilderImpl : public InferenceBuilder {
internal_def.object_def.user_provided = false;
AccessType access =
graph_.IsGraphInput(value->id) ? AccessType::READ : AccessType::WRITE;
links.push_back({value->id, access, external_def, internal_def});
links.push_back({value->id, access, internal_def, external_def});
}
return links;
}
Expand Down

0 comments on commit dffe6a0

Please sign in to comment.