"official/nlp/bert_modeling.py" did not exist on "1921a3b5412d0f59b9b9b8c107af4dc7bf3a4afa"
Commit e70d4269 authored by Paul's avatar Paul
Browse files

Format

parent 03ae8013
......@@ -37,9 +37,8 @@ bool reduce_dim(std::vector<shape>& shapes, std::size_t n)
void reduce_dim1(std::vector<shape>& shapes)
{
if (std::any_of(shapes.begin(), shapes.end(), [&](const auto& s) {
return s.lens().back() != 1;
}))
if(std::any_of(
shapes.begin(), shapes.end(), [&](const auto& s) { return s.lens().back() != 1; }))
return;
for(auto& s : shapes)
{
......
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