These are chat archives for arita37/tensorflow

Mar 2017
Segev Malool
Mar 02 2017 01:00
Hello everyone, I have a question about feeding a scalar to a tf model, as in nExamples = tf.placeholder(tf.int32,shape=[])
When I try to use nExamples to define a tf.Variable, I get an error:
initial_value must have a shape specified: Tensor("random_uniform_1:0", shape=(?, 10), dtype=float32)
It thinks the shape is '?', but I clearly defined the shape in the placeholder call above.
What gives?