未验证 提交 403e7e24 编写于 作者: L learning-to-play 提交者: GitHub

Merge pull request #61730 from tensorflow/r2.14-75d692bb

r2.14 cherry-pick: 75d692bb "Remove deprecated "distributions" package from exports."
......@@ -59,3 +59,7 @@ _exported_dunders = set([
# Expose symbols minus dunders, unless they are allowlisted above.
# This is necessary to export our dunders.
__all__ = [s for s in dir() if s in _exported_dunders or not s.startswith('_')]
# TODO(b/296442875): remove this when we remove the tf.distribution package.
# This import is needed for tf.compat.v1.distributions.
from tensorflow.python.ops.distributions import distributions
......@@ -107,7 +107,6 @@ from tensorflow.python.ops import rnn_cell
from tensorflow.python.ops import sets
from tensorflow.python.ops import stateful_random_ops
from tensorflow.python.ops import while_v2
from tensorflow.python.ops.distributions import distributions
from tensorflow.python.ops.linalg import linalg
from tensorflow.python.ops.linalg.sparse import sparse
from tensorflow.python.ops.losses import losses
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册