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