File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
tensorflow_probability/python Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,11 @@ def gen_module(module_name):
134
134
'from tensorflow.python.ops import variables' ,
135
135
'from tensorflow_probability.python.internal.backend.numpy '
136
136
'import variables' )
137
+ code = code .replace (
138
+ 'from tensorflow.python.trackable '
139
+ 'import data_structures' ,
140
+ 'from tensorflow_probability.python.internal.backend.numpy '
141
+ 'import data_structures' )
137
142
code = code .replace (
138
143
'from tensorflow.python.training.tracking '
139
144
'import data_structures' ,
Original file line number Diff line number Diff line change 24
24
from tensorflow_probability .python .internal import parameter_properties
25
25
from tensorflow_probability .python .util .deferred_tensor import TensorMetaClass
26
26
from tensorflow .python .framework import composite_tensor # pylint: disable=g-direct-tensorflow-import
27
- from tensorflow .python .training . tracking import data_structures # pylint: disable=g-direct-tensorflow-import
27
+ from tensorflow .python .trackable import data_structures # pylint: disable=g-direct-tensorflow-import
28
28
29
29
30
30
__all__ = [] # We intend nothing public.
You can’t perform that action at this time.
0 commit comments