Why pytorch use different lambda options for lerp?

here, this link update the Lerp.cu. And it use for tensor lerp but [=] for scalar lerp, I am confused why this choice, can Anyone give me some helps? Thanks.
I don’t know if this is suitable to commit an issue so I asked here. If you think this should be asked in github repo, I will update.

1 Like

CC @khushi-411 as the PR author - do you know why different capture clauses were used?

2 Likes