I am new to pytorch I have a for loop running, where a tensor (of which the size is unknown) is being returned. I need some way out to store the tensor returned in a temporary variable and use it to compare with the tensor in the next loop. But I dont know how to initialize a tensor of unknown size.