tmp update

This commit is contained in:
张壹 2024-10-07 18:57:45 +08:00
parent 9aedd1b8e8
commit 094bbfa70d

View File

@ -30,14 +30,14 @@
gctl::loss_func::loss_func()
{
init_ = false;
eps_ = 1e-8;
eps_ = 1e-16;
tnum_ = 0;
ntype_ = L2;
}
gctl::loss_func::loss_func(const array<double> &tar, norm_type_e n_type, double p, double eps)
{
init(tar, n_type);
init(tar, n_type, p, eps);
}
gctl::loss_func::~loss_func(){}