单项选择题

A.tensor=tf.constant(1)
B.tensor=tf.constant([1,2])
C.tensor=tf.constant(-1,shape=[2,3])
D.a =tf.constant([1.0,2.0],name="a)