提交 4c066519 编写于 作者: D dependabot[bot] 提交者: GitHub Actions

apply code-format changes

上级 343a26bb
......@@ -326,10 +326,12 @@ int onnx_serializer::load_constant_tensor(ir_graph_t* graph, const onnx::GraphPr
{
if (node_tensor.count(node.input(inp_idx)) == 0)
continue;
if (!logged) {
if (!logged)
{
logged = true;
if (!(op == "Reshape" || op == "Gather" || op == "Div" || op == "Resize" || op == "Upsample"
|| op == "Clip" || op == "Slice" || op == "Expand")) {
|| op == "Clip" || op == "Slice" || op == "Expand"))
{
auto msg = "Load a Constant node \"%s\" as input[%d] of node \"%s\".\n";
printf(msg, node.input(inp_idx).c_str(), inp_idx, node.name().c_str());
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册