Here condition is a 1-axis bool tensor with 2 True values. The result has a shape of [2,1]. tf.where([True, False, False, True]).numpy()
確定! 回上一頁