Task: Find Index of Specific Value in PyTorch Tensor
Task: Find Index of Specific Value in PyTorch Tensor: a task in Terminal-Lego-15k (Harbor dataset). Implement a Python script that demonstrates how to find the index of a specific value in a PyTorch tensor, equivalent to Python's list.index() method.
Part of PrimeIntellect/Terminal-Lego-15k.