模型开发接口
推理部署接口
API 相关说明
Fills the given tensor with value val.
tensor
val
tensor (Tensor) – tensor to be initialized.
Tensor
val (Union[float, int]) – value to be filled throughout the tensor.
Union
float
int
None
previous
megengine.module.init
next
megengine.module.init.zeros_