Task: PyTorch Tensor Shape as List of Integers
Task: PyTorch Tensor Shape as List of Integers: a task in Terminal-Lego-15k (Harbor dataset). Create a Python script that demonstrates how to get the shape/dimensions of a PyTorch tensor as a list of integers.
The task
Create a Python script that demonstrates how to get the shape/dimensions of a PyTorch tensor as a list of integers.
Part of PrimeIntellect/Terminal-Lego-15k.