cMHN 1.1
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
externs_TT.hpp
Go to the documentation of this file.
1using T = pRC::Float<>;
2
3using TTN =
5 decltype(cMHN::TT::getRanks<EVENTS, MAXRANKP, 2>())>;
6
7using S = TTN::Subscripts;
8
9extern template TTN cMHN::calculatePTheta<MAXRANKP>(
10 cMHN::TT::MHNOperator<T, EVENTS> const &, TTN const &, T const &);
11
12extern template T cMHN::calculateScore<MAXRANKP>(
13 cMHN::TT::MHNOperator<T, EVENTS> const &, std::map<S, T> const &,
14 cMHN::Score<T> const &, cMHN::Regulator<T, EVENTS> const &, T const &);
15
16extern template std::tuple<T, pRC::Tensor<T, EVENTS, EVENTS>>
17cMHN::calculateScoreAndGradient<MAXRANKP, MAXRANKQ>(
18 cMHN::TT::MHNOperator<T, EVENTS> const &, std::map<S, T> const &,
20 T const &, T const &);
21
22extern template std::tuple<pRC::Tensor<T, EVENTS, EVENTS>,
23 std::map<std::string, std::string>, std::map<std::string, double>>
24cMHN::TT::learnTheta<MAXRANKP, MAXRANKQ>(pRC::Tensor<T, EVENTS, EVENTS> const &,
25 std::string const &, std::string const &, std::map<S, T> const &,
26 cMHN::Score<T> const &, cMHN::Regulator<T, EVENTS> const &, T const &,
27 T const &, T const &);
Class storing all relevant information for a regulator.
Definition regulator.hpp:30
Class storing all relevant information for a score.
Definition score.hpp:27
Class storing an MHN operator represented by a theta matrix (for TT calculations)
Definition mhn_operator.hpp:24
Definition type_traits.hpp:17
Definition tensor.hpp:28
TN::Subscripts S
Definition externs_nonTT.hpp:9