diff options
author | 2018-03-16 17:05:51 -0700 | |
---|---|---|
committer | 2018-03-16 17:10:37 -0700 | |
commit | e3930fc11f042416a34ed5526bc506e1e0e32660 (patch) | |
tree | f0a55744d633a984658c6eb96ed05bfb0296ba2d /tensorflow/python/user_ops | |
parent | bd33984641fda2f892b77bb2a1ac8c33c7a2211a (diff) |
Add user_ops.my_fact to the new TensorFlow API.
PiperOrigin-RevId: 189415577
Diffstat (limited to 'tensorflow/python/user_ops')
-rw-r--r-- | tensorflow/python/user_ops/user_ops.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/python/user_ops/user_ops.py b/tensorflow/python/user_ops/user_ops.py index 6f9b5d92bb..20ea3b0f62 100644 --- a/tensorflow/python/user_ops/user_ops.py +++ b/tensorflow/python/user_ops/user_ops.py @@ -23,8 +23,10 @@ from tensorflow.python.ops import gen_user_ops as _gen_user_ops # go/tf-wildcard-import from tensorflow.python.ops.gen_user_ops import * # pylint: disable=wildcard-import +from tensorflow.python.util.tf_export import tf_export +@tf_export('user_ops.my_fact') def my_fact(): """Example of overriding the generated code for an Op.""" return _gen_user_ops.fact() |