torch.nn.utils.PackedSequence.is_cuda PackedSequence.is_cuda(): boolean Check if the PackedSequence is on CUDA. Returns boolean