Skip to content

Commit

Permalink
- cosmetic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jczaja committed Feb 1, 2022
1 parent 8f172fc commit 6e5cc74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions paddle/fluid/operators/mkldnn/test_mkldnn_op_nhwc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ TEST(test_pool2d_transpose_nhwc, cpu_place) {
"Computed shape does not match expected shape"));
}

TEST(test_pool2d_transpose_activation_nhwc, cpu_place) {
TEST(test_pool2d_relu_relu_nhwc, cpu_place) {
framework::DDim dims({1, 4, 8, 512}); // NHWC shape
framework::DDim expected_dims({1, 512, 3, 7}); // NHWC expected shape
platform::CPUPlace p;
Expand All @@ -117,8 +117,8 @@ TEST(test_pool2d_transpose_activation_nhwc, cpu_place) {

auto &pool = platform::DeviceContextPool::Instance();

// Make pool2d(oneDNN) followed by transpose(CPU paddle) followed by
// activation(oneDNN)
// Make pool2d(oneDNN) followed by relu(CPU paddle) followed by
// relu(oneDNN). Second relu should make a shape rotation to NCHW

auto ksize = std::vector<int>(2, 2);
auto op_pool = framework::OpRegistry::CreateOp(
Expand Down

1 comment on commit 6e5cc74

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.