summaryrefslogtreecommitdiff
path: root/res/TensorFlowPythonExamples/examples/reshape/__init.py__
diff options
context:
space:
mode:
Diffstat (limited to 'res/TensorFlowPythonExamples/examples/reshape/__init.py__')
-rw-r--r--res/TensorFlowPythonExamples/examples/reshape/__init.py__4
1 files changed, 4 insertions, 0 deletions
diff --git a/res/TensorFlowPythonExamples/examples/reshape/__init.py__ b/res/TensorFlowPythonExamples/examples/reshape/__init.py__
new file mode 100644
index 000000000..3afe7efa9
--- /dev/null
+++ b/res/TensorFlowPythonExamples/examples/reshape/__init.py__
@@ -0,0 +1,4 @@
+import tensorflow as tf
+
+in_ = tf.compat.v1.placeholder(dtype=tf.float32, shape=(4, 4), name="Hole")
+op_ = tf.compat.v1.reshape(in_, shape=[2,2,2,2])