mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
exclude test case from reduced-op build (#9895)
Co-authored-by: Randy Shuai <rashuai@microsoft.com>
This commit is contained in:
parent
175acf08f4
commit
078782ea3c
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue