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 2ceeded commit 6123af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmcv/ops/csrc/pytorch/npu/focal_loss_npu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ void softmax_focal_loss_forward_npu(Tensor input, Tensor target, Tensor weight,
c10::SmallVector<int64_t, N> offsetVec = array_to_small_vector(offset);
c10::SmallVector<int64_t, N> sizeVec = array_to_small_vector(size_array);
cmd.Name("Slice")
.Input(self)
.Input(op_output)
.Input(offsetVec)
.Input(sizeVec)
.Output(result)
Expand Down

0 comments on commit 6123af4

Please sign in to comment.