exclude test case from reduced-op build (#9895)

Co-authored-by: Randy Shuai <rashuai@microsoft.com>
This commit is contained in:
RandySheriffH 2021-12-01 15:50:36 -08:00 committed by GitHub
parent 175acf08f4
commit 078782ea3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1887,6 +1887,7 @@ TEST(CApiTest, TestPerSessionCustomThreadPoolHooks) {
// Preventing resize tranformer issue:
// https://github.com/microsoft/onnxruntime/issues/9857
#ifndef REDUCED_OPS_BUILD
TEST(CApiTest, crop_and_resize) {
std::vector<float> input_value_0;
input_value_0.resize(2 * 36 * 36 * 3);
@ -1921,6 +1922,7 @@ TEST(CApiTest, crop_and_resize) {
ASSERT_EQ(ONNX_TENSOR_ELEMENT_DATA_TYPE_FLOAT, output_type_shape.GetElementType());
ASSERT_EQ(output_shape, output_type_shape.GetShape());
}
#endif
} // namespace TestPerSessionCustomThreadHooks
#endif