Commit b97727bc authored by James Keeling's avatar James Keeling Committed by TensorFlower Gardener
Browse files

Use tf_stack instead of tf_inspect to get file and lineno in deprecation.py

This is a no-op change, that prevents deprecation warnings triggering large numbers of posix.stat calls.

In a test application, this prevents 64150 calls to lstat and 1499 calls to stat.

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