未验证 提交 2395cbe5 编写于 作者: C chalsliu 提交者: GitHub

Fix open missing mode on jetson (#53019)

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