Experiment - Tensor shapes and reshaping
Problem:You have a 1D tensor of 12 elements representing pixel values of a small image. You want to reshape it into a 2D tensor to represent the image's height and width for further processing.
Current Metrics:Original tensor shape: (12,), after reshaping: (3, 4)
Issue:You want to reshape the tensor correctly without losing data or changing the total number of elements.