Experiment - Indexing and slicing
Problem:You have a 3D tensor representing a batch of images with shape (batch_size, height, width). You want to extract specific parts of the images using indexing and slicing.
Current Metrics:N/A (This is a data manipulation task, not a model training task.)
Issue:You are unsure how to correctly use PyTorch indexing and slicing to extract sub-tensors without errors.