Skip to content

Commit

Permalink
fix torch
Browse files Browse the repository at this point in the history
  • Loading branch information
momo609 committed Oct 19, 2023
1 parent 6123af4 commit cf1c154
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mmcv/ops/csrc/pytorch/npu/focal_loss_npu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,8 @@ void softmax_focal_loss_forward_npu(Tensor input, Tensor target, Tensor weight,
.Input(op_output)
.Input(offsetVec)
.Input(sizeVec)
.Output(result)
.Output(output)
.Run();
return result;
}

void softmax_focal_loss_forward_impl(Tensor input, Tensor target, Tensor weight,
Expand Down

0 comments on commit cf1c154

Please sign in to comment.