(beta)torch_npu.contrib.module.NpuCachedDropout 接口原型torch_npu.contrib.module.NpuCachedDropout(torch.nn.Dropout): 功能描述在NPU设备上使用FairseqDropout。 参数说明p (Float) - 元素归零的概率。module_name (String) - 模型名称。 父主题: torch_npu.contrib