Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:birdwatcher:OpenWebUI
onnxruntime
onnxruntime-fix-std-variant.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File onnxruntime-fix-std-variant.patch of Package onnxruntime
diff --git a/onnxruntime/test/providers/base_tester.h b/onnxruntime/test/providers/base_tester.h index 512b3402..a378b7e1 100644 --- a/onnxruntime/test/providers/base_tester.h +++ b/onnxruntime/test/providers/base_tester.h @@ -54,7 +54,11 @@ class BaseTester { // Dims variant is needed to reduce the number of overloads // MS compiler refuses to create a gsl::span from initializer_list especially if it contains a single element +#ifndef DISABLE_ABSEIL using DimsVariant = std::variant<std::vector<int64_t>, TensorShapeVector>; +#else + using DimsVariant = std::variant<TensorShapeVector>; +#endif template <typename T> void AddInput(const char* name, std::initializer_list<int64_t> dims, std::initializer_list<T> values,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor