summaryrefslogtreecommitdiff
path: root/res/TensorFlowPythonExamples/examples/reshape/__init.py__
blob: 3afe7efa95e935c4760da23ad436dbabe722f7b9 (plain)
1
2
3
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])