Add reference to ResourceVariables
Added Reference to resource variable.
diff --git a/tensorflow/python/ops/custom_gradient.py b/tensorflow/python/ops/custom_gradient.py
index 5466d10..af7f0ce 100644
--- a/tensorflow/python/ops/custom_gradient.py
+++ b/tensorflow/python/ops/custom_gradient.py
@@ -248,7 +248,8 @@
operations.
Note that if the decorated function uses `Variable`s, the enclosing variable
- scope must be using `ResourceVariable`s.
+ scope must be using [ResourceVariable s](
+ https://www.tensorflow.org/guide/migrate/tf1_vs_tf2#resourcevariables_instead_of_referencevariables).
Args:
f: function `f(*x)` that returns a tuple `(y, grad_fn)` where: