Skip to content

Commit

Permalink
Update onnxruntime/contrib_ops/cpu/skip_layer_norm.cc
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
liqunfu and github-actions[bot] authored Nov 16, 2024
1 parent 40e3728 commit d4020b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxruntime/contrib_ops/cpu/skip_layer_norm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ Status SkipLayerNorm<T, simplified>::Compute(OpKernelContext* p_ctx) const {
skip_fp32 = IAllocator::MakeUniquePtr<float>(alloc, skip_size);
MlasConvertHalfToFloatBuffer(skip_data, skip_fp32.get(), skip_size);
skip_data_f = skip_fp32.get();
} else if(prepacked_skip_fp32_data_) {
} else if (prepacked_skip_fp32_data_) {
skip_data_f = prepacked_skip_fp32_data_.get();
}

Expand Down

0 comments on commit d4020b3

Please sign in to comment.