Skip to content

Commit

Permalink
fix: fix typo bug
Browse files Browse the repository at this point in the history
Signed-off-by: Bo Wang <wangbo1995ee@163.com>
  • Loading branch information
bowang007 committed Apr 26, 2021
1 parent 58cb53e commit e491bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/partitioning/partitioning.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ void registerSegmentsOutputs(PartitionedGraph& segmented_blocks, std::shared_ptr
std::for_each(
segmented_blocks.begin(),
segmented_blocks.end(),
[](SegmentedBlock& seg_block) { torch::jit::EliminateDeadCode(seg_block.g()); })
[](SegmentedBlock& seg_block) { torch::jit::EliminateDeadCode(seg_block.g()); });
// erase segments which still have no output
segmented_blocks.erase(
std::remove_if(
Expand Down

0 comments on commit e491bb5

Please sign in to comment.