Interface CanSamplePrep<DistributionType, T>
Whether the distribution supports preallocation of a workspace for sampling
Namespace: Microsoft.ML.Probabilistic.Distributions
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public interface CanSamplePrep<DistributionType, T>
Type Parameters
Name | Description |
---|---|
DistributionType | The distribution type |
T | The domain type of the distribution |
Methods
SamplePrep()
Return an sampler delegate which owns an sampling workspace
Declaration
Sampler<DistributionType, T> SamplePrep()
Returns
Type | Description |
---|---|
Sampler<DistributionType, T> | An sampler delegate |