stargan v2 code learning record
1, Generator
(1) lamda python
lambda function is also called anonymous function, that is, the function has no specific name.
Compared with ordinary functions, lambda just omits the function name. At the same time, such anonymous functions cannot be shared and called elsewhere.
In fact, you're right. Lambda really doesn't play an earth shaki ...
Posted by barbatruc on Sat, 26 Feb 2022 15:02:44 +0100