例如 tf.zeros,tf.ones,tf.zeros_like,tf.diag ...
[begin{aligned} f(x) &= left(x - 4 right) left(x - 8right) + rand \ &= x ^ 2 - 12 x + 32 + rand end{aligned} ]
获取shapeimport tensorflow as tftensor = tf.placeholder(dtype=tf.float32, shape=[200, 200, 3])print('n=========== get shape ============')print('tensor ...