Change the way we get argument list for get_local_variable. Current documentation...
authorAnna R <annarev@google.com>
Wed, 14 Mar 2018 00:23:09 +0000 (17:23 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Wed, 14 Mar 2018 00:29:58 +0000 (17:29 -0700)
commit15be9f41fc02d58b0403a16438221836a354f8ed
treefc582a23a72beac48a2f0f308c4709dd3b579dba
parentbac72dc5a59b844d908d3badf77d62a8a93e2c3a
Change the way we get argument list for get_local_variable. Current documentation for get_local_variable displays arguments as *args and **kwargs: https://tensorflow.org/versions/r1.3/api_docs/python/tf/get_local_variable .
Current decorator also doesn't play well with @tf_export decorator.
So I am switching to approach that adds __wrapped__ variable to get_local_variable so that we can get argument list from __wrapped__ function.

PiperOrigin-RevId: 188956520
tensorflow/python/ops/variable_scope.py
tensorflow/tools/api/golden/tensorflow.pbtxt