Skip to content

Commit 5bb28b0

Browse files
committed
Revert "initial tests, updated init and build"
This reverts commit e54c5e4
1 parent d3c2e40 commit 5bb28b0

File tree

2 files changed

+0
-51
lines changed

2 files changed

+0
-51
lines changed

tensorflow_probability/python/experimental/vi/BUILD

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ py_library(
3131
srcs_version = "PY3",
3232
deps = [
3333
":automatic_structured_vi",
34-
":cascading_flows",
3534
":surrogate_posteriors",
3635
"//tensorflow_probability/python/experimental/vi/util",
3736
"//tensorflow_probability/python/internal:all_util",
@@ -68,36 +67,6 @@ py_library(
6867
],
6968
)
7069

71-
py_library(
72-
name = "cascading_flows",
73-
srcs = ["cascading_flows.py.py"],
74-
srcs_version = "PY3",
75-
deps = [
76-
# tensorflow dep,
77-
"//tensorflow_probability/python/bijectors:build_highway_flow_layer",
78-
"//tensorflow_probability/python/bijectors:chain",
79-
"//tensorflow_probability/python/bijectors:reshape",
80-
"//tensorflow_probability/python/bijectors:scale",
81-
"//tensorflow_probability/python/bijectors:shift",
82-
"//tensorflow_probability/python/bijectors:split",
83-
"//tensorflow_probability/python/distributions:batch_broadcast",
84-
"//tensorflow_probability/python/distributions:beta",
85-
"//tensorflow_probability/python/distributions:blockwise",
86-
"//tensorflow_probability/python/distributions:chi2",
87-
"//tensorflow_probability/python/distributions:exponential",
88-
"//tensorflow_probability/python/distributions:gamma",
89-
"//tensorflow_probability/python/distributions:half_normal",
90-
"//tensorflow_probability/python/distributions:joint_distribution_auto_batched",
91-
"//tensorflow_probability/python/distributions:joint_distribution_coroutine",
92-
"//tensorflow_probability/python/distributions:normal",
93-
"//tensorflow_probability/python/distributions:sample",
94-
"//tensorflow_probability/python/distributions:transformed_distribution",
95-
"//tensorflow_probability/python/distributions:truncated_normal",
96-
"//tensorflow_probability/python/distributions:uniform",
97-
"//tensorflow_probability/python/internal:samplers",
98-
],
99-
)
100-
10170
py_library(
10271
name = "surrogate_posteriors",
10372
srcs = ["surrogate_posteriors.py"],
@@ -142,22 +111,6 @@ py_test(
142111
],
143112
)
144113

145-
py_test(
146-
name = "cascading_flows_test",
147-
size = "large",
148-
srcs = ["cascading_flows_test.py"],
149-
python_version = "PY3",
150-
shard_count = 4,
151-
srcs_version = "PY3",
152-
deps = [
153-
# absl/testing:parameterized dep,
154-
# numpy dep,
155-
# tensorflow dep,
156-
"//tensorflow_probability",
157-
"//tensorflow_probability/python/internal:test_util",
158-
],
159-
)
160-
161114
py_test(
162115
name = "surrogate_posteriors_test",
163116
size = "large",

tensorflow_probability/python/experimental/vi/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
from tensorflow_probability.python.experimental.vi import util
1818
from tensorflow_probability.python.experimental.vi.automatic_structured_vi import build_asvi_surrogate_posterior
1919
from tensorflow_probability.python.experimental.vi.automatic_structured_vi import register_asvi_substitution_rule
20-
from tensorflow_probability.python.experimental.vi.cascading_flows import build_cf_surrogate_posterior
21-
from tensorflow_probability.python.experimental.vi.cascading_flows import register_cf_substitution_rule
2220
from tensorflow_probability.python.experimental.vi.surrogate_posteriors import build_affine_surrogate_posterior
2321
from tensorflow_probability.python.experimental.vi.surrogate_posteriors import build_affine_surrogate_posterior_from_base_distribution
2422
from tensorflow_probability.python.experimental.vi.surrogate_posteriors import build_factored_surrogate_posterior
@@ -31,12 +29,10 @@
3129
'build_affine_surrogate_posterior',
3230
'build_affine_surrogate_posterior_from_base_distribution',
3331
'build_asvi_surrogate_posterior',
34-
'build_cf_surrogate_posterior',
3532
'build_factored_surrogate_posterior',
3633
'build_split_flow_surrogate_posterior',
3734
'build_trainable_location_scale_distribution',
3835
'register_asvi_substitution_rule',
39-
'register_cf_substitution_rule',
4036
'util',
4137
]
4238

0 commit comments

Comments
 (0)