megengine.module.SiLU.apply

SiLU.apply(fn)

Applies function fn to all the modules within this module, including itself.

参数

fn (Callable[[Module], Any]) – the function to be applied on modules.

返回类型

None