1#ifndef FREE_TENSOR_MIN_MAX_H
2#define FREE_TENSOR_MIN_MAX_H
11 const std::function<
Expr()> &inf,
12 const std::function<
Expr()> &negInf);
14 const std::function<
Expr()> &inf,
15 const std::function<
Expr()> &negInf);
18 return []() {
return nullptr; };
24 return [&e]() {
return e; };
38template <
typename T,
typename U>
55template <
typename T,
typename U>
Definition: allocator.h:9
Expr makeMinMax(const std::vector< std::vector< Expr > > &exprs, const T &inf, const U &negInf)
Definition: min_max.h:39
Expr makeLOrLAnd(const std::vector< std::vector< Expr > > &exprs)
Definition: min_max.cc:135
Expr makeMaxMin(const std::vector< std::vector< Expr > > &exprs, const T &negInf, const U &inf)
Definition: min_max.h:56
std::function< Expr()> asExprGenerator(std::nullptr_t)
Definition: min_max.h:17
Expr makeMaxMinImpl(const std::vector< std::vector< Expr > > &exprs, const std::function< Expr()> &inf, const std::function< Expr()> &negInf)
Definition: min_max.cc:129
Ref< ExprNode > Expr
Definition: ast.h:184
Expr makeMinMaxImpl(const std::vector< std::vector< Expr > > &exprs, const std::function< Expr()> &inf, const std::function< Expr()> &negInf)
Definition: min_max.cc:123