DeepLight_Deep-Lightweight-Feature-Interactions
DeepLight_Deep-Lightweight-Feature-Interactions copied to clipboard
BugReport
Template class SparseMatrix<T> is in namespace SparseMatrix. So for all SparseMatrix<T> referred in criteo_latency.cpp, they should be revised to SparseMatrix::SparseMatrix<T>, or using namespace SparseMatrix.
Also, the function cnt_time is not available, because of the failure of static type casting. The error can be eliminated if revise this function to
template <typename T>
double cnt_time(T start, T end) {
auto diff = end - start;
return chrono::duration <double, milli>(diff).count();
}
.
Hi, Riley, thanks for pointing out this issue. Since this link has not been updated for quite a while, I will leave your suggestion here to let others know.
Thanks a lot again.