torch_npu.npu_get_float_status(self) -> Tensor
计算npu_get_float_status算子函数。
self (Tensor) - 数据内存地址张量,数据类型为float32。
>>> x = torch.rand(2).npu() >>> torch_npu.npu_get_float_status(x) tensor([0., 0., 0., 0., 0., 0., 0., 0.], device='npu:0')