DeepLight_Deep-Lightweight-Feature-Interactions icon indicating copy to clipboard operation
DeepLight_Deep-Lightweight-Feature-Interactions copied to clipboard

BugReport

Open RileyYe opened this issue 3 years ago • 1 comments

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();
}

.

RileyYe avatar Feb 16 '22 03:02 RileyYe

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.

WayneDW avatar Mar 23 '22 21:03 WayneDW