-
Notifications
You must be signed in to change notification settings - Fork 32
/
runtests.jl
61 lines (52 loc) · 1.36 KB
/
runtests.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
using Bijectors
using ChainRulesTestUtils
using Combinatorics
using DistributionsAD
using FiniteDifferences
using ForwardDiff
using Functors
using LogExpFunctions
using ReverseDiff
using Tracker
using Zygote
using Random, LinearAlgebra, Test
using Bijectors:
Shift,
Scale,
Logit,
SimplexBijector,
PDBijector,
Permute,
PlanarLayer,
RadialLayer,
Stacked,
TruncatedBijector
using ChangesOfVariables: ChangesOfVariables
using InverseFunctions: InverseFunctions
using LazyArrays: LazyArrays
const GROUP = get(ENV, "GROUP", "All")
# Always include this since it can be useful for other tests.
include("ad/utils.jl")
include("bijectors/utils.jl")
if GROUP == "All" || GROUP == "Interface"
include("interface.jl")
include("transform.jl")
include("norm_flows.jl")
include("bijectors/permute.jl")
include("bijectors/rational_quadratic_spline.jl")
include("bijectors/named_bijector.jl")
include("bijectors/leaky_relu.jl")
include("bijectors/coupling.jl")
include("bijectors/ordered.jl")
include("bijectors/pd.jl")
include("bijectors/reshape.jl")
include("bijectors/corr.jl")
include("bijectors/product_bijector.jl")
include("distributionsad.jl")
end
if GROUP == "All" || GROUP == "AD"
include("ad/chainrules.jl")
include("ad/flows.jl")
include("ad/pd.jl")
include("ad/corr.jl")
end