1#ifndef FREE_TENSOR_FIND_TAPE_OR_RECOMP_STMTS_H
2#define FREE_TENSOR_FIND_TAPE_OR_RECOMP_STMTS_H
4#include <unordered_set>
17std::pair<std::unordered_map<ID, std::unordered_set<ID>>,
18 std::unordered_map<ID, std::unordered_set<ID>>>
20 const Stmt &op,
const std::unordered_set<ID> &defsToTape,
21 const std::unordered_set<ID> defsNeedGrad,
22 std::unordered_map<StmtOrExprID, Derivative::LazyFullDerivative>
Definition: allocator.h:9
Ref< StmtNode > Stmt
Definition: ast.h:152
std::pair< std::unordered_map< ID, std::unordered_set< ID > >, std::unordered_map< ID, std::unordered_set< ID > > > findTapeOrRecompStmts(const Stmt &op, const std::unordered_set< ID > &defsToTape, const std::unordered_set< ID > defsNeedGrad, std::unordered_map< StmtOrExprID, Derivative::LazyFullDerivative > &derivatives)
Definition: find_tape_or_recomp_stmts.cc:103