Skip to content

Commit

Permalink
Klockwork code clean (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
nammbash committed May 18, 2020
1 parent 896a070 commit 2f53385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow/core/grappler/optimizers/remapper.cc
Expand Up @@ -722,7 +722,7 @@ bool SharedInputWithMatMul(const RemapperContext& ctx, int node_index,
if (!IsMatMul(*(x_node_view->node())) &&
x_node_view->GetOp() != kFusedMatMul)
continue;

if (shared_input == nullptr) return false;
if (shared_input->node_index() ==
x_node_view->GetRegularFanin(0).node_view()->node_index()) {
return true;
Expand Down

0 comments on commit 2f53385

Please sign in to comment.