Tensors and Data Shapes Quiz

Complete this assessment with 100% score to master this chapter.

01What is the 'Rank' of a tensor?

02For a batch of color images with shape (64, 224, 224, 3), what does the first axis (64) represent?

03What is the result of 'Squeezing' a tensor of shape (1, 28, 28, 1)?

04In TensorFlow, how does a 'Variable' differ from a 'Constant'?

05Why is 'Device Placement' a critical advantage of tensors over NumPy arrays?

06What does `tf.reshape(tensor, [-1, 28])` do?

07Why would you use `tf.cast()` in a deep learning pipeline?

08What is the result of `tf.transpose()` on a 2D matrix?

09In a 3D tensor representing a color image (Height, Width, Channels), what are 'Channels'?

10What is a 'Ragged Tensor' in TensorFlow?