File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
module Inference
2
2
3
3
using DynamicPPL:
4
+ DynamicPPL,
4
5
@model ,
5
6
Metadata,
6
7
VarInfo,
8
+ LogDensityFunction,
9
+ SimpleVarInfo,
10
+ AbstractVarInfo,
7
11
# TODO (mhauru) all_varnames_grouped_by_symbol isn't exported by DPPL, because it is only
8
12
# implemented for NTVarInfo. It is used by mh.jl. Either refactor mh.jl to not use it
9
13
# or implement it for other VarInfo types and export it from DPPL.
@@ -24,6 +28,7 @@ using DynamicPPL:
24
28
DefaultContext,
25
29
PriorContext,
26
30
LikelihoodContext,
31
+ SamplingContext,
27
32
set_flag!,
28
33
unset_flag!
29
34
using Distributions, Libtask, Bijectors
@@ -32,7 +37,6 @@ using LinearAlgebra
32
37
using .. Turing: PROGRESS, Turing
33
38
using StatsFuns: logsumexp
34
39
using Random: AbstractRNG
35
- using DynamicPPL
36
40
using AbstractMCMC: AbstractModel, AbstractSampler
37
41
using DocStringExtensions: FIELDS, TYPEDEF, TYPEDFIELDS
38
42
using DataStructures: OrderedSet
You can’t perform that action at this time.
0 commit comments