API 相关说明
Traces module mod and returns corresponding TracedModule.
mod
TracedModule
mod (Module) – the module will be converted to TracedModule.
Module
args (Tuple[Any]) – the positional arguments passed to forward method of mod.
Tuple
Any
kwargs (Dict[str, Any]) – the keyword arguments passed to forward method of mod.
Dict
str
上一页
megengine.traced_module.TracedModule.zero_grad
下一页
megengine.traced_module.register_as_builtin