diff options
Diffstat (limited to 'tensorflow/python/user_ops')
-rwxr-xr-x | tensorflow/python/user_ops/__init__.py | 0 | ||||
-rw-r--r-- | tensorflow/python/user_ops/user_ops.py | 10 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tensorflow/python/user_ops/__init__.py b/tensorflow/python/user_ops/__init__.py new file mode 100755 index 0000000000..e69de29bb2 --- /dev/null +++ b/tensorflow/python/user_ops/__init__.py diff --git a/tensorflow/python/user_ops/user_ops.py b/tensorflow/python/user_ops/user_ops.py new file mode 100644 index 0000000000..20e2604e05 --- /dev/null +++ b/tensorflow/python/user_ops/user_ops.py @@ -0,0 +1,10 @@ +"""All user ops.""" + +import tensorflow.python.platform +from tensorflow.python.ops import gen_user_ops +from tensorflow.python.ops.gen_user_ops import * + + +def my_fact(): + """Example of overriding the generated code for an Op.""" + return gen_user_ops._fact() |