Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
momo609 committed Dec 4, 2023
1 parent 6610147 commit 9240489
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mmcv/ops/csrc/common/pytorch_npu_util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,6 @@ inline c10::Scalar ConvertTensorToScalar(const at::Tensor &tensor) {
c10::BFloat16 value = *(c10::BFloat16 *)aclInput->data_ptr();
c10::Scalar scalar(value);
expScalar = scalar;
} else {
NPU_LOGE("unsupported scalar type! ");
}
return expScalar;
}
Expand Down

0 comments on commit 9240489

Please sign in to comment.