using python 3.x tensorflow version 1.8.0
code1:
a2 = [['1', '2'], ['1', '2']]
print(tf.shape(a2))
cod2:
a2 = [['1', '2', '3'], ['1']]
print(tf.shape(a2))
cod1 is success but code2 error:
ValueError: Argument must be a dense tensor: [['1', '2', '3'], ['1']] - got shape [2], but wanted [2, 3].
tensorflow var has balance? why code2 is error?