Skip to main content

function_space.cov_rows

function_space.cov_rows(prior, like, rows, /)

\(\Sigma_0 r\) for each row \(r\) of rows, through prior.cov_mv under vmap.

Parameters

Name Type Description Default
prior PriorWithCovariance The prior. \(\Sigma_0\) is its covariance. required
like Params Gives the parameter names, shapes and order of the \(P\) columns. required
rows Tensor The rows, \([k, P]\). required

Returns

Name Type Description
Tensor The products as rows, \([k, P]\), in the dtype of rows.

Raises

Name Type Description
StructureError prior.cov_mv refuses the parameters (a Layerwise prior whose blocks differ from theirs, say).