Commit 8c2a52b2 authored by Pavel Sountsov's avatar Pavel Sountsov Committed by TensorFlower Gardener
Browse files

Silence tf.distributions deprecation messages caused by internal global function calls.

E.g. register_kl calls would trigger such warnings. This spam was exacerbated
by the fact that it happens before logging is initialized, so it is dumped
prominently to STDERR. Worse yet it also happened no matter whether the user
imported any symbols from tf.distributions or not as the relevant code is
executed when you import TensorFlow.

PiperOrigin-RevId: 216396036
parent 072fcb99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment