7 #include <unordered_set>
11 #include "core/framework/session_options.h"
14 #if !defined(ORT_MINIMAL_BUILD)
19 #if !defined(ORT_MINIMAL_BUILD) || defined(ORT_EXTENDED_MINIMAL_BUILD)
20 #include "core/optimizer/selectors_actions/selector_action_transformer_apply_contexts.h"
23 namespace onnxruntime {
24 class IExecutionProvider;
26 namespace optimizer_utils {
28 #if !defined(ORT_MINIMAL_BUILD)
50 const SessionOptions& session_options,
54 #endif // !defined(ORT_MINIMAL_BUILD)
56 #if !defined(ORT_MINIMAL_BUILD) || defined(ORT_EXTENDED_MINIMAL_BUILD)
78 const SessionOptions& session_options,
79 const SatApplyContextVariant& apply_context,
83 #endif // !defined(ORT_MINIMAL_BUILD) || defined(ORT_EXTENDED_MINIMAL_BUILD)
GLsizei const GLchar *const * string
std::unique_ptr< RuleBasedGraphTransformer > GenerateRuleBasedGraphTransformer(TransformerLevel level, const InlinedHashSet< std::string > &rules_to_disable, const InlinedHashSet< std::string_view > &compatible_execution_providers)
InlinedVector< std::unique_ptr< GraphTransformer > > GenerateTransformers(TransformerLevel level, const SessionOptions &session_options, const IExecutionProvider &execution_provider, const InlinedHashSet< std::string > &rules_and_transformers_to_disable={})
absl::InlinedVector< T, N, Allocator > InlinedVector
InlinedVector< std::unique_ptr< GraphTransformer > > GenerateTransformersForMinimalBuild(TransformerLevel level, const SessionOptions &session_options, const SatApplyContextVariant &apply_context, const IExecutionProvider &cpu_execution_provider, const InlinedHashSet< std::string > &rules_and_transformers_to_disable={})
std::string GenerateRuleBasedTransformerName(TransformerLevel level)
InlinedVector< std::unique_ptr< RewriteRule > > GenerateRewriteRules(TransformerLevel level, const InlinedHashSet< std::string > &rules_to_disable={})