|
TVM
0.9.4
|
Classes | |
| class | NoConstant |
| struct | RefSelector |
| struct | RefSelector< NoConstant > |
| class | BufferedMatrix |
| class | IdLess |
| class | IdEqual |
| class | HashId |
| class | RHS |
Typedefs | |
| using | IdentityType = decltype(Eigen::MatrixXd::Identity()) |
| using | MultIdentityType = decltype(2. *Eigen::MatrixXd::Identity()) |
| using | MinusIdentityType = decltype(-Eigen::MatrixXd::Identity()) |
| template<typename Derived > | |
| using | RefSelector_t = typename RefSelector< Derived >::type |
| template<typename LhsType , typename RhsType > | |
| using | AddConstantsRetType = std::remove_const_t< std::remove_reference_t< decltype(std::declval< LhsType >()+std::declval< RhsType >())> > |
| template<typename KeyWithId , typename Value , typename Allocator = std::allocator<std::pair<const KeyWithId, Value>>> | |
| using | map = std::map< KeyWithId, Value, IdLess< KeyWithId >, Allocator > |
| template<typename KeyWithId , typename Value , typename Allocator = std::allocator<std::pair<const KeyWithId, Value>>> | |
| using | unordered_map = std::unordered_map< KeyWithId, Value, HashId< KeyWithId >, IdEqual< KeyWithId >, Allocator > |
Enumerations | |
| enum class | RHSType { Zero , Double , Vector } |
Functions | |
| template<typename RhsType > | |
| const RhsType & | operator+ (const NoConstant &, const Eigen::MatrixBase< RhsType > &rhs) |
| template<typename LhsType > | |
| const LhsType & | operator+ (const Eigen::MatrixBase< LhsType > &lhs, const NoConstant &) |
| auto | operator+ (const NoConstant &, const NoConstant &) |
| template<typename MultType > | |
| NoConstant | operator* (const MultType &, const NoConstant &) |
| template<typename Tuple , size_t... Indices> | |
| auto | tupleUnaryMinus (const Tuple &tuple, std::index_sequence< Indices... >) |
| template<typename MultType , typename Tuple , size_t... Indices> | |
| auto | tuplePremult (const MultType &m, const Tuple &tuple, std::index_sequence< Indices... >) |
| template<typename Object , typename Output , typename... Args> | |
| void | parseSourcesAndOutputs (graph::CallGraph *g, std::shared_ptr< graph::internal::Inputs > user, std::shared_ptr< Object > obj, Output output, Args &&... args) |
| template<typename Object1 , typename Object2 , typename... Args> | |
| void | parseSourcesAndOutputs (graph::CallGraph *g, std::shared_ptr< graph::internal::Inputs > user, std::shared_ptr< Object1 > obj1, std::shared_ptr< Object2 > obj2, Args &&... args) |
| template<typename Object > | |
| void | parseSourcesAndOutputs (graph::CallGraph *g, std::shared_ptr< graph::internal::Inputs > user, std::shared_ptr< Object > obj) |
| TVM_DLLAPI bool | is_malloc_allowed_ () |
| TVM_DLLAPI bool | set_is_malloc_allowed_ (bool allow) |
| TVM_DLLAPI void | override_is_malloc_allowed_ (bool v) |
| TVM_DLLAPI void | restore_is_malloc_allowed_ () |
| void | check_malloc_coherency () |
| void | enforce_malloc_coherency () |
Copyright 2017-2020 CNRS-AIST JRL and CNRS-UM LIRMM
| using tvm::utils::internal::AddConstantsRetType = typedef std::remove_const_t<std::remove_reference_t<decltype(std::declval<LhsType>() + std::declval<RhsType>())> > |
Result type for the addition of two constant parts, existing or not.
| using tvm::utils::internal::IdentityType = typedef decltype(Eigen::MatrixXd::Identity()) |
Type of Eigen::MatrixXd::Identity()
| using tvm::utils::internal::map = typedef std::map<KeyWithId, Value, IdLess<KeyWithId>, Allocator> |
| using tvm::utils::internal::MinusIdentityType = typedef decltype(-Eigen::MatrixXd::Identity()) |
Type of -Eigen::MatrixXd::Identity()
| using tvm::utils::internal::MultIdentityType = typedef decltype(2. * Eigen::MatrixXd::Identity()) |
Type of double*Eigen::MatrixXd::Identity()
| using tvm::utils::internal::RefSelector_t = typedef typename RefSelector<Derived>::type |
| using tvm::utils::internal::unordered_map = typedef std::unordered_map<KeyWithId, Value, HashId<KeyWithId>, IdEqual<KeyWithId>, Allocator> |
|
strong |
|
inline |
|
inline |
Ensure that Eigen::internal::is_malloc_allowed() and tvm::utils::is_malloc_allowed() are the same.
This function is not meant to be called directly (but doing so should not change anything).
| TVM_DLLAPI bool tvm::utils::internal::is_malloc_allowed_ | ( | ) |
|
inline |
Overload for post-multiplying by NoConstant. In this case, we need to return NoConstant.
|
inline |
Adding an existing constant part with an absent constant part.
|
inline |
Adding an absent constant part with an existing constant part.
|
inline |
Adding two absent constant parts.
| TVM_DLLAPI void tvm::utils::internal::override_is_malloc_allowed_ | ( | bool | v | ) |
|
inline |
Recursion over the sources and outputs. End of recursion.
|
inline |
Recursion over the sources and outputs. Case where the next element to parse is an output.
|
inline |
Recursion over the sources and outputs. Case where the next element to parse is a source.
| TVM_DLLAPI void tvm::utils::internal::restore_is_malloc_allowed_ | ( | ) |
| TVM_DLLAPI bool tvm::utils::internal::set_is_malloc_allowed_ | ( | bool | allow | ) |
| auto tvm::utils::internal::tuplePremult | ( | const MultType & | m, |
| const Tuple & | tuple, | ||
| std::index_sequence< Indices... > | |||
| ) |
Premultiplication by m of each element i of the input tuple where the i's are the elements given by the sequence of index.
| auto tvm::utils::internal::tupleUnaryMinus | ( | const Tuple & | tuple, |
| std::index_sequence< Indices... > | |||
| ) |
Taking the opposite of each element i of the input tuple where the i's are the elements given by the sequence of index.