Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
azai91 committed Jun 2, 2018
1 parent 89b02d5 commit b089e25
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/cpp/operator/mkldnn.cc
Original file line number Diff line number Diff line change
Expand Up @@ -591,8 +591,7 @@ void VerifySumResult(const std::vector<NDArray *> &in_arrs, const NDArray &arr)
void VerifyAddRequest(const std::vector<NDArray*> &in_arrs,
const std::vector<NDArray*> &original_outputs,
const std::vector<NDArray*> &new_outputs,
VerifyFunc verify_fn)
{
VerifyFunc verify_fn) {
NDArray tmp = *new_outputs[0] - *original_outputs[0];
verify_fn(in_arrs, tmp);
}
Expand Down Expand Up @@ -705,11 +704,8 @@ void TestOp(const OpAttrs &attrs, InitFunc init_fn, VerifyFunc verify_fn, const
}
}
}


}


TEST(IMPERATIVE, UnaryOp) {
OpAttrs attrs = GetCopyOp();
TestOp(attrs, InitDefaultArray, VerifyCopyResult, 1);
Expand Down

0 comments on commit b089e25

Please sign in to comment.