You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function Turing.Inference.getparams(::Turing.DynamicPPL.Model, sample::SliceSamplingStates)
34
-
return sample.transition.params
35
-
end
36
-
# end
37
-
38
9
function SliceSampling.initial_sample(rng::Random.AbstractRNG, ℓ::Turing.LogDensityFunction)
39
10
n_max_attempts =1000
40
11
@@ -50,7 +21,7 @@ function SliceSampling.initial_sample(rng::Random.AbstractRNG, ℓ::Turing.LogDe
50
21
@warn"Failed to find valid initial parameters after $(init_attempt_count) attempts; consider providing explicit initial parameters using the `initial_params` keyword"
51
22
end
52
23
53
-
# NOTE: This will sample in the unconstrained space if ℓ.varinfo is linked
24
+
# NOTE: This will sample in the unconstrained space if ℓ.varinfo is linked
0 commit comments