API REFERENCE
Useful links for Colossal-AI
Wrap a function to nn.Module, which takes a config of layers and can fully access them.
func (Callable) – User customed function.
Callable
layers_cfg (dict, optional) – Config of layers, defaults to None.