stheno.mo.input module

stheno.mo.input.dimensionality[source]

Infer the output dimensionality of k.

Parameters

k (mlkernels.Kernel) – Kernel to get the output dimensionality of.

Returns

Output dimensionality of k.

Return type

int

stheno.mo.input.infer_size[source]

Infer the size of k evaluated at x.

Parameters
  • k (mlkernels.Kernel) – Kernel to evaluate.

  • x (input) – Input to evaluate kernel at.

Returns

Size of kernel matrix.

Return type

int