You just need to submit it as one example, but in form. Thus, this means adding extra size to the form, for example.
batch_size = 32
Thus, it "fits" in the placeholder.
If you expect batch_size to change, you can also use:
tf.truncated_normal(tf.shape(input_tensor), mean=0.0, stddev=1.0, dtype=tf.float32, seed=None, name=None)
If input_tensor can be a placeholder or just some kind of tensor this noise will be added.
Daniel Slater
source share