Skip to content

Commit

Permalink
Replace / \ in graph_info.h
Browse files Browse the repository at this point in the history
These are causing compilation warnings and errors because of lines ending in \ and `\ `

Easier to just avoid these characters altogether.

PiperOrigin-RevId: 699934444
  • Loading branch information
ai-edge-bot authored and copybara-github committed Nov 25, 2024
1 parent 4ac0171 commit 7afbb12
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tflite/graph_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,23 +124,23 @@ using ControlEdges = std::vector<ControlEdge>;
// (Example: with `greedily`, `control_edges.empty()`, and `nodes_to_partition
// == {2, 3}`, the graph
//
// /------------\
// ------------
// | v
// 0 --> 1 --> 2* --> 3* 4 --> 5
// | ^
// \-------------------/
// -------------------
//
// will be partitioned as {{0, 1, 4}, {2, 3}, {5}}, since data dependencies
// (notated '-->') allow for execution of 4 immediately after 1.
//
// With an additional control dependency `control_edges == {{3, 4}}` (notated
// '==>'), execution of node 4 requires prior execution of node 3:
//
// /------------\
// ------------
// | v
// 0 --> 1 --> 2* --> 3* ==> 4 --> 5
// | ^
// \-------------------/
// -------------------
//
// and the partitioning will be {{0, 1}, {2, 3}, {4, 5}}.)
//
Expand Down

0 comments on commit 7afbb12

Please sign in to comment.