File tree Expand file tree Collapse file tree 4 files changed +32
-0
lines changed Expand file tree Collapse file tree 4 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 3232#include " litert/c/litert_common.h"
3333#include " litert/c/litert_model.h"
3434#include " litert/c/litert_op_code.h"
35+ #include " litert/c/litert_rewriter.h"
3536#include " litert/cc/internal/litert_extended_model.h"
3637#include " litert/cc/litert_buffer_ref.h"
3738#include " litert/cc/litert_macros.h"
@@ -454,3 +455,10 @@ LiteRtStatus LiteRtCompilerPluginCompile(
454455 *compiled_result = result.release ();
455456 return kLiteRtStatusOk ;
456457}
458+
459+ LiteRtStatus LiteRtCompilerPluginRegisterAllTransformations (
460+ LiteRtCompilerPlugin compiler_plugin, LiteRtPatternFn** pattern_fns,
461+ const char *** transformation_names, LiteRtParamIndex* num_patterns) {
462+ *num_patterns = 0 ;
463+ return kLiteRtStatusOk ;
464+ }
Original file line number Diff line number Diff line change 3535#include " litert/c/litert_common.h"
3636#include " litert/c/litert_model.h"
3737#include " litert/c/litert_op_code.h"
38+ #include " litert/c/litert_rewriter.h"
3839#include " litert/c/options/litert_intel_openvino_options.h"
3940#include " litert/cc/internal/litert_extended_model.h"
4041#include " litert/cc/litert_environment_options.h"
@@ -421,3 +422,10 @@ LiteRtStatus LiteRtCompilerPluginCompile(
421422 return kLiteRtStatusErrorCompilation ;
422423 }
423424}
425+
426+ LiteRtStatus LiteRtCompilerPluginRegisterAllTransformations (
427+ LiteRtCompilerPlugin compiler_plugin, LiteRtPatternFn** pattern_fns,
428+ const char *** transformation_names, LiteRtParamIndex* num_patterns) {
429+ *num_patterns = 0 ;
430+ return kLiteRtStatusOk ;
431+ }
Original file line number Diff line number Diff line change 3333#include " litert/c/litert_common.h"
3434#include " litert/c/litert_model.h"
3535#include " litert/c/litert_op_code.h"
36+ #include " litert/c/litert_rewriter.h"
3637#include " litert/cc/internal/litert_extended_model.h"
3738#include " litert/cc/litert_environment_options.h"
3839#include " litert/cc/litert_expected.h"
@@ -576,3 +577,10 @@ LiteRtStatus LiteRtCompilerPluginCompile(
576577 *compiled_result = result.release ();
577578 return kLiteRtStatusOk ;
578579}
580+
581+ LiteRtStatus LiteRtCompilerPluginRegisterAllTransformations (
582+ LiteRtCompilerPlugin compiler_plugin, LiteRtPatternFn** pattern_fns,
583+ const char *** transformation_names, LiteRtParamIndex* num_patterns) {
584+ *num_patterns = 0 ;
585+ return kLiteRtStatusOk ;
586+ }
Original file line number Diff line number Diff line change 3636#include " litert/c/litert_common.h"
3737#include " litert/c/litert_model.h"
3838#include " litert/c/litert_op_code.h"
39+ #include " litert/c/litert_rewriter.h"
3940#include " litert/c/options/litert_qualcomm_options.h" // IWYU pragma: keep
4041#include " litert/cc/internal/litert_extended_model.h"
4142#include " litert/cc/litert_element_type.h"
@@ -488,3 +489,10 @@ LiteRtStatus LiteRtCompilerPluginCompile(
488489
489490 return kLiteRtStatusOk ;
490491}
492+
493+ LiteRtStatus LiteRtCompilerPluginRegisterAllTransformations (
494+ LiteRtCompilerPlugin compiler_plugin, LiteRtPatternFn** pattern_fns,
495+ const char *** transformation_names, LiteRtParamIndex* num_patterns) {
496+ *num_patterns = 0 ;
497+ return kLiteRtStatusOk ;
498+ }
You can’t perform that action at this time.
0 commit comments