Fix Reduced Ops pipeline (#16612)

This commit is contained in:
Hariharan Seshadri 2023-07-06 14:32:59 -07:00 committed by GitHub
parent 51c42ae64a
commit 5ffd58c8e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1887,6 +1887,8 @@ TEST(CApiTest, basic_cuda_graph) {
binding.ClearBoundOutputs();
}
#ifndef REDUCED_OPS_BUILD
// The following test uses some ops not supported in the reduced ops build
TEST(CApiTest, cuda_graph_with_shape_nodes) {
const auto& api = Ort::GetApi();
@ -1910,6 +1912,8 @@ TEST(CApiTest, cuda_graph_with_shape_nodes) {
#endif
#endif
TEST(CApiTest, create_tensor) {
const char* s[] = {"abc", "kmp"};
int64_t expected_len = 2;