Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglirong1999 committed Nov 6, 2023
1 parent 1a44715 commit c1da50a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion paddle/fluid/operators/mkldnn/fc_mkldnn_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ class FCMKLDNNHandler
std::shared_ptr<dnnl::memory> AcquireResidualMemory(
const phi::DenseTensor* residual, float scale_data) {
auto dims = this->fwd_pd_->dst_desc().get_dims();
void* residual_ptr = const_cast<void*>(residual->data());
if (phi::funcs::is_int8<T_in>()) {
auto memory_p =
GetBinaryAddValueInt8(this->dev_ctx_, residual, dims, scale_data);
Expand Down

0 comments on commit c1da50a

Please sign in to comment.