O'Reilly logo
  • Pandu Rao thinks this is interesting:

# 1-D Tensor with boolean data type

From

Cover of TensorFlow for Machine Intelligence

Note

Shouldn't this be?

2-D Tensor with boolean data type

>>> tf.shape(t_2)
<tf.Tensor 'Shape:0' shape=(2,) dtype=int32>