File tree 3 files changed +2
-4
lines changed
3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ licenses(["notice"])
34
34
35
35
exports_files (["LICENSE" ])
36
36
37
+ # The public target for the TensorFlow version of TFP.
37
38
py_library (
38
39
name = "tensorflow_probability" ,
39
40
srcs = ["__init__.py" ],
@@ -42,7 +43,6 @@ py_library(
42
43
# "//tensorflow_probability/google/staging", # DisableOnExport
43
44
# "//tensorflow_probability/google/tfp_google", # DisableOnExport
44
45
"//tensorflow_probability/python" ,
45
- "//tensorflow_probability/substrates" ,
46
46
],
47
47
)
48
48
Original file line number Diff line number Diff line change 17
17
# Contributors to the `python/` dir should not alter this file; instead update
18
18
# `python/__init__.py` as necessary.
19
19
20
- from tensorflow_probability import substrates
21
20
# from tensorflow_probability.google import staging # DisableOnExport
22
21
# from tensorflow_probability.google import tfp_google # DisableOnExport
23
22
from tensorflow_probability .python import * # pylint: disable=wildcard-import
Original file line number Diff line number Diff line change 36
36
'from tensorflow_probability.python.internal.backend.numpy.compat '
37
37
'import v2' ,
38
38
'import tensorflow_probability as tfp' :
39
- 'import tensorflow_probability as tfp; '
40
- 'tfp = tfp.substrates.numpy' ,
39
+ 'from tensorflow_probability.substrates import numpy as tfp' ,
41
40
('from tensorflow.python.framework '
42
41
'import composite_tensor' ):
43
42
('from tensorflow_probability.python.internal.backend.numpy '
You can’t perform that action at this time.
0 commit comments