-
Notifications
You must be signed in to change notification settings - Fork 74k
New issue
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
[INTEL MKL] Pad+Conv fusion for bf16 #41010
[INTEL MKL] Pad+Conv fusion for bf16 #41010
Conversation
668e9b4
to
81a475d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR and for refactoring!
const int image_batch_count = 1; | ||
Tensor image(DT_FLOAT, {image_batch_count, image_height, image_width, depth}); | ||
test::FillValues<float>(&image, {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}); | ||
TYPED_TEST_CASE_P(FusedPadConvOpTest); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is deprecated. Please use TYPED_TEST_SUITE_P
instead.
TYPED_TEST_CASE_P(FusedPadConvOpTest); | |
TYPED_TEST_SUITE_P(FusedPadConvOpTest); |
const int image_batch_count = 1; | ||
Tensor image(DT_FLOAT, {image_batch_count, depth, image_height, image_width}); | ||
test::FillValues<float>(&image, {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}); | ||
REGISTER_TYPED_TEST_CASE_P(FusedPadConvOpTest, PaddingConvTest, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also deprecated.
REGISTER_TYPED_TEST_CASE_P(FusedPadConvOpTest, PaddingConvTest, | |
REGISTER_TYPED_TEST_SUITE_P(FusedPadConvOpTest, PaddingConvTest, |
#else | ||
using FusedPadConvDataTypes = ::testing::Types<float>; | ||
#endif | ||
INSTANTIATE_TYPED_TEST_CASE_P(Test, FusedPadConvOpTest, FusedPadConvDataTypes); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
INSTANTIATE_TYPED_TEST_CASE_P(Test, FusedPadConvOpTest, FusedPadConvDataTypes); | |
INSTANTIATE_TYPED_TEST_SUITE_P(Test, FusedPadConvOpTest, FusedPadConvDataTypes); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for review. All TYPED_TEST_CASE_P
in this file have been replaced
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the quick response!
This PR enables pad+conv fusion for bf16 and related test case.