summaryrefslogtreecommitdiff
path: root/res/TensorFlowPythonExamples/examples/pack/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'res/TensorFlowPythonExamples/examples/pack/__init__.py')
-rwxr-xr-xres/TensorFlowPythonExamples/examples/pack/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/res/TensorFlowPythonExamples/examples/pack/__init__.py b/res/TensorFlowPythonExamples/examples/pack/__init__.py
new file mode 100755
index 000000000..609bc9b76
--- /dev/null
+++ b/res/TensorFlowPythonExamples/examples/pack/__init__.py
@@ -0,0 +1,5 @@
+import tensorflow as tf
+
+in_1 = tf.compat.v1.placeholder(dtype=tf.float32, shape=(2, 3, 4), name="Hole")
+in_2 = tf.compat.v1.placeholder(dtype=tf.float32, shape=(2, 3, 4), name="Hole")
+op_ = tf.compat.v1.stack([in_1, in_2])