@@ -63,30 +63,21 @@ function AbstractMCMC.step(
63
63
end
64
64
65
65
"""
66
- default_varinfo(rng, model, sampler[, context] )
66
+ default_varinfo(rng, model, sampler)
67
67
68
68
Return a default varinfo object for the given `model` and `sampler`.
69
69
70
70
# Arguments
71
71
- `rng::Random.AbstractRNG`: Random number generator.
72
72
- `model::Model`: Model for which we want to create a varinfo object.
73
73
- `sampler::AbstractSampler`: Sampler which will make use of the varinfo object.
74
- - `context::AbstractContext`: Context in which the model is evaluated.
75
74
76
75
# Returns
77
76
- `AbstractVarInfo`: Default varinfo object for the given `model` and `sampler`.
78
77
"""
79
78
function default_varinfo (rng:: Random.AbstractRNG , model:: Model , sampler:: AbstractSampler )
80
- return default_varinfo (rng, model, sampler, DefaultContext ())
81
- end
82
- function default_varinfo (
83
- rng:: Random.AbstractRNG ,
84
- model:: Model ,
85
- sampler:: AbstractSampler ,
86
- context:: AbstractContext ,
87
- )
88
79
init_sampler = initialsampler (sampler)
89
- return typed_varinfo (rng, model, init_sampler, context )
80
+ return typed_varinfo (rng, model, init_sampler)
90
81
end
91
82
92
83
function AbstractMCMC. sample (
0 commit comments