Lambda¶ class torchvision.transforms.Lambda(lambd)[原始碼]¶ 應用使用者定義的 lambda 作為變換。此變換不支援 torchscript。 引數: lambd (function) – 用於變換的 Lambda/函式。