summaryrefslogtreecommitdiff
path: root/res/TensorFlowPythonExamples/examples/sqrt/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'res/TensorFlowPythonExamples/examples/sqrt/__init__.py')
-rwxr-xr-xres/TensorFlowPythonExamples/examples/sqrt/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/res/TensorFlowPythonExamples/examples/sqrt/__init__.py b/res/TensorFlowPythonExamples/examples/sqrt/__init__.py
new file mode 100755
index 000000000..4aab5da9c
--- /dev/null
+++ b/res/TensorFlowPythonExamples/examples/sqrt/__init__.py
@@ -0,0 +1,4 @@
+import tensorflow as tf
+
+in_ = tf.compat.v1.placeholder(dtype=tf.float32, shape=(1, 1), name="Hole")
+op_ = tf.compat.v1.sqrt(in_)