We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/Users/qiaolongfei/project/paddle/paddle/framework/data_transform_test.cc:34:45: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] std::array<proto::DataType, 2> kDataType = {proto::DataType::FP32, ^~~~~~~~~~~~~~~~~~~~~~ /Users/qiaolongfei/project/paddle/paddle/framework/data_transform_test.cc:37:32: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] std::array<Place, 2> kPlace = {CPUPlace(), CUDAPlace(0)}; ^~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/qiaolongfei/project/paddle/paddle/framework/data_transform_test.cc:40:5: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] DataLayout::kNHWC, DataLayout::kNCHW, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } /Users/qiaolongfei/project/paddle/paddle/framework/data_transform_test.cc:44:5: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] LibraryType::kPlain, LibraryType::kMKLDNN, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { }
The text was updated successfully, but these errors were encountered:
the reason is https://stackoverflow.com/questions/31555584/why-is-clang-warning-suggest-braces-around-initialization-of-subobject-wmis
Sorry, something went wrong.
【Paddle-Lite】update_docs_layout (PaddlePaddle#7083)
e7b3acc
* fix_docs_layout * test=document_fix * Update add_layout.md * Update add_layout.md
45620ab
Successfully merging a pull request may close this issue.
The text was updated successfully, but these errors were encountered: