未验证 提交 74ec1993 编写于 作者: Y Yuanle Liu 提交者: GitHub

int fd = open(shape_range_info_path.c_str(), O_WRONLY | O_CREAT, 0644); (#54166)

上级 70eade79
......@@ -434,7 +434,7 @@ std::string TensorRtSubgraphPass::CreateTensorRTOp(
&max_shape_tensor,
&opt_shape_tensor);
} else {
int fd = open(shape_range_info_path.c_str(), O_RDONLY | O_CREAT, 0644);
int fd = open(shape_range_info_path.c_str(), O_WRONLY | O_CREAT, 0644);
close(fd);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册