Fix Reduced Ops build pipeline (#12144)

Fix ReducedOps build pipeline
This commit is contained in:
Hariharan Seshadri 2022-07-11 19:02:38 -07:00 committed by GitHub
parent c675c4750a
commit 73310b2a0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2166,7 +2166,8 @@ TEST(CApiTest, TestCudaMemcpyToHostWithSequenceTensors) {
#endif
#if !defined(DISABLE_OPTIONAL_TYPE)
// Reduced Ops build doesn't support OptionalHasElement (16) yet
#if !defined(REDUCED_OPS_BUILD) && !defined(DISABLE_OPTIONAL_TYPE)
TEST(CApiTest, GH_11717) {
const auto* model_path = OPTIONAL_TYPE_GH_11717_MODEL;
Ort::SessionOptions session_options{};