torch_npu.npu.aclnn.allow_hf32:bool
设置conv算子是否支持hf32,一个属性值,对aclnn的allow_hf32属性的设置和查询,默认值为true。
aclnn的bool类的属性
无
>>>res = torch.npu.aclnn.allow_hf32 res=True >>>torch.npu.aclnn.allow_hf32 = True >>>res = torch.npu.aclnn.allow_hf32 res=True >>>torch.npu.aclnn.allow_hf32 = False >>>res = torch.npu.aclnn.allow_hf32 res=False