Skip to content

Commit

Permalink
Fix variable name typo (#334)
Browse files Browse the repository at this point in the history
Co-authored-by: Wenxiang Hu <8460860+wenxcs@users.noreply.github.com>
  • Loading branch information
siahuat0727 and wenxcs authored Mar 8, 2022
1 parent a88f425 commit 118f33f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ auto trans_elementwise = [](std::shared_ptr<graph::GNode>& node) {
expr += replace_input_str(iter->second.expr) + ";";
}

auto data_layput = op::create_layout_from_dims(node->get_output_shape(0));
auto data_layout = op::create_layout_from_dims(node->get_output_shape(0));
return op::create_code_from_template(
expr, {{"data_layout", vector_to_string<std::vector<std::string>>(data_layput)}});
expr, {{"data_layout", vector_to_string<std::vector<std::string>>(data_layout)}});
};

#define REGISTER_ELEM_OP(op_name) \
Expand Down

0 comments on commit 118f33f

Please sign in to comment.