These are chat archives for arita37/tensorflow

28th
Feb 2018
neverdie88
@neverdie88
Feb 28 2018 04:49
Is there any way to use tf.multinomial(logits, num_samples) with num_samples is a tensor with shape [?] ?. I got an error "ValueError: Shape must be rank 0 but is rank 1 for 'vars/multinomial/Multinomial' (op: 'Multinomial') with input shapes: [?,5], [?]."