"python/vscode:/vscode.git/clone" did not exist on "07440f5f349ef6c4b216e5aa6ebd0827ba9ee2ee"
Commit 9dcbd52b authored by Paul's avatar Paul
Browse files

Format

parent 4272fff1
...@@ -424,10 +424,10 @@ struct mlir_program ...@@ -424,10 +424,10 @@ struct mlir_program
static value get_operator_value(const operation& op) static value get_operator_value(const operation& op)
{ {
auto v = op.to_value(); auto v = op.to_value();
if (op.name() == "convolution") if(op.name() == "convolution")
{ {
// Adjust symetrical padding // Adjust symetrical padding
if (v.at("padding").size() == v.at("stride").size()) if(v.at("padding").size() == v.at("stride").size())
{ {
auto padding = v.at("padding"); auto padding = v.at("padding");
std::copy(padding.begin(), padding.end(), std::back_inserter(v.at("padding"))); std::copy(padding.begin(), padding.end(), std::back_inserter(v.at("padding")));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment