diff --git a/include/onnxruntime/core/optimizer/graph_transformer_utils.h b/include/onnxruntime/core/optimizer/graph_transformer_utils.h index 31b0f22340..8f7acc8a5e 100644 --- a/include/onnxruntime/core/optimizer/graph_transformer_utils.h +++ b/include/onnxruntime/core/optimizer/graph_transformer_utils.h @@ -58,6 +58,12 @@ InlinedVector> GenerateTransformers( concurrency::ThreadPool* intra_op_thread_pool = nullptr, std::unordered_map>* p_buffered_tensors = nullptr); +/** Generates all predefined transformers for EPs */ +InlinedVector> GenerateTransformersForEP( + const SessionOptions& session_options, + const IExecutionProvider& cpu_execution_provider, /*required by constant folding*/ + const logging::Logger& logger); + #endif // !defined(ORT_MINIMAL_BUILD) #if !defined(ORT_MINIMAL_BUILD) || defined(ORT_EXTENDED_MINIMAL_BUILD)