diff --git a/cpp/oneapi/dal/algo/logistic_regression/detail/infer_ops.cpp b/cpp/oneapi/dal/algo/logistic_regression/detail/infer_ops.cpp index 935bd6ab9af..2d462694bbe 100644 --- a/cpp/oneapi/dal/algo/logistic_regression/detail/infer_ops.cpp +++ b/cpp/oneapi/dal/algo/logistic_regression/detail/infer_ops.cpp @@ -40,5 +40,8 @@ struct infer_ops_dispatcher { INSTANTIATE(float, method::dense_batch, task::classification) INSTANTIATE(double, method::dense_batch, task::classification) +INSTANTIATE(float, method::sparse, task::classification) +INSTANTIATE(double, method::sparse, task::classification) + } // namespace v1 } // namespace oneapi::dal::logistic_regression::detail diff --git a/cpp/oneapi/dal/algo/logistic_regression/detail/train_ops.cpp b/cpp/oneapi/dal/algo/logistic_regression/detail/train_ops.cpp index ab8b385154e..28663fffa3d 100644 --- a/cpp/oneapi/dal/algo/logistic_regression/detail/train_ops.cpp +++ b/cpp/oneapi/dal/algo/logistic_regression/detail/train_ops.cpp @@ -65,5 +65,8 @@ struct train_ops_dispatcher { INSTANTIATE(float, method::dense_batch, task::classification) INSTANTIATE(double, method::dense_batch, task::classification) +INSTANTIATE(float, method::sparse, task::classification) +INSTANTIATE(double, method::sparse, task::classification) + } // namespace v1 } // namespace oneapi::dal::logistic_regression::detail