mlkernels.kernels.decaying module¶
- class mlkernels.kernels.decaying.DecayingKernel(alpha, beta)[source]¶
Bases:
mlkernels.kernel.KernelDecaying kernel.
- Parameters
alpha (tensor) – Shape of the gamma distribution governing the distribution of decaying exponentials.
beta (tensor) – Rate of the gamma distribution governing the distribution of decaying exponentials.
- render(formatter)[source]¶
Render the element.
This is the lowest-level operation in pretty printing an element, and should produce a string representation of the element. This method should be implemented to determine how to render a custom element.
- Parameters
formatter (elements, optional) – Function to format values.
- Returns
Rendering of the element.
- Return type
str