Which of the following does not support dimension conversion in TensorFlow 2.0?

Disable ads (and more) with a membership for a one time $4.99 payment

Prepare for the Huawei Certified ICT Associate – AI Exam with flashcards and multiple-choice questions, featuring hints and explanations. Gear up for success!

Gather does not support dimension conversion in TensorFlow 2.0 because its primary function is to retrieve specific slices or elements from input tensors based on given indices. Instead of altering the dimensions of the input tensor, Gather preserves the original structure of the data but selects certain data points, effectively indexing them.

In contrast, the other options – Reshape, Squeeze, and Transpose – all serve to change the dimensions of a tensor. Reshape alters the shape of the input tensor to match specified dimensions, Squeeze removes dimensions of size 1, and Transpose rearranges dimensions according to a specified permutation. Each of these functions manipulates the tensor's structure, whereas Gather focuses on data retrieval without adjusting dimensions.