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
Loading
Please sign in to comment