Loading...
Searching...
No Matches
gpridge_testing.h File Reference

C++ test seam onto the native model behind a C API handle. More...

#include "gpridge_c.h"

Go to the source code of this file.

Namespaces

namespace  gpr
 Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.
namespace  gpr::capi
namespace  gpr::capi::testing

Functions

gpr::GaussianProcessRegression * gpr::capi::testing::nativeModel (gpr_model_t model) noexcept
 The native Gaussian process behind model.
int gpr::capi::testing::setHssvdBackend (gpr_model_t model, gpr_hssvd_backend_t selection)
 Select the HS-SVD or the dense Cholesky posterior of a trained handle and condition it again on the handle's training data.

Detailed Description

C++ test seam onto the native model behind a C API handle.

Not part of the C ABI and not installed. The C API keeps gpr_model_s opaque; tests that must compare a handle's output with a reference built from the same native model reach it through these functions instead of restating the handle layout.

Definition in file gpridge_testing.h.