28 #ifndef TVM_TE_SCHEDULE_PASS_H_ 29 #define TVM_TE_SCHEDULE_PASS_H_ 67 Map<IterVar, Range>
InferBound(
const Schedule& sch);
89 Stmt
ScheduleOps(Schedule s, Map<IterVar, Range> dom_map,
bool debug_keep_trivial_loop);
108 Optional<Map<Tensor, Buffer>> bindings);
112 #endif // TVM_TE_SCHEDULE_PASS_H_ bool VerifyCompactBuffer(const Stmt &stmt)
Verify if there is any argument bound to compact buffer.
runtime implementation for LibTorch/TorchScript.
Definition: analyzer.h:36
PrimFuncFrame PrimFunc()
The primitive function statement.
PrimFunc SchedulePostProcToPrimFunc(Array< ObjectRef > arg_list, Stmt body, Optional< Map< Tensor, Buffer >> bindings)
Postprocessing the Stmt generated by ScheduleOps to create a PrimFunc that can then be used for furth...
Map< IterVar, Range > InferBound(const Schedule &sch)
Infer the bound of all iteration variables relates to the schedule.
Stmt ScheduleOps(Schedule s, Map< IterVar, Range > dom_map, bool debug_keep_trivial_loop)
Schedule s' dependent operations.
void AutoInlineInjective(Schedule sch)
To automatically inline operations with injective writes (i.e. writes without reduction or sequential...
void AutoInlineElemWise(Schedule sch)
To automatically inline the element-wise operations.
void AutoInlineBroarcast(Schedule sch)
To automatically inline the broadcast operations.