diff --git a/torch_npu/csrc/aten/ops/SlogdetKernelNpu.cpp b/torch_npu/csrc/aten/ops/SlogdetKernelNpu.cpp index 6c8eb11ef1fc24c5229a84fedd1fef2c01359bcf..6ce1c87cc8e4f9abe03f939c2fc2751765b39192 100644 --- a/torch_npu/csrc/aten/ops/SlogdetKernelNpu.cpp +++ b/torch_npu/csrc/aten/ops/SlogdetKernelNpu.cpp @@ -24,12 +24,12 @@ tuple slogdet_out_nocheck_npu( at::Tensor& sign, at::Tensor& y) { OpCommand cmd; + cmd.Name("LogMatrixDeterminant") .Input(self) .Output(sign) .Output(y) .Run(); - return std::tie(sign, y); } @@ -47,7 +47,6 @@ tupleNPUNativeFunctions::slogdet(const at::Tensor& self) // calculate the output result of the NPU slogdet_out_nocheck_npu(self, sign, y); - return std::tie(sign, y); }