We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5db6950 commit 70a341aCopy full SHA for 70a341a
test/dynamicppl/varinfo.jl
@@ -125,27 +125,6 @@ using Turing
125
@test DynamicPPL.get_num_produce(vi) == 3
126
end
127
128
- @testset "replay" begin
129
- # Generate synthesised data
130
- xs = rand(Normal(0.5, 1), 100)
131
-
132
- # Define model
133
- @model function priorsinarray(xs, ::Type{T}=Float64) where {T}
134
- begin
135
- priors = Vector{T}(undef, 2)
136
- priors[1] ~ InverseGamma(2, 3)
137
- priors[2] ~ Normal(0, sqrt(priors[1]))
138
- for i in 1:length(xs)
139
- xs[i] ~ Normal(priors[2], sqrt(priors[1]))
140
- end
141
- priors
142
143
144
145
- # Sampling
146
- chain = sample(priorsinarray(xs), HMC(0.01, 10), 10)
147
148
149
@testset "varname" begin
150
@model function mat_name_test()
151
p = Array{Any}(undef, 2, 2)
0 commit comments