message: remove redundant if
diff: @@ -73,7 +73,6 @@ embedding_bag_impl(const at::Tensor & weight, const at::Tensor & indices,
  const at::Tensor & per_sample_weights, bool include_last_offset) {
  at::Tensor offsets_ = offsets.contiguous();
  - if (embedding_bag_fast_path_sum(weight, per_sample_weights, mode)) {
  at::Tensor bag_size;
  at::Tensor offset2bag;
  if (weight.requires_grad()) {
  @@ -90,7 +89,6 @@ embedding_bag_impl(const at::Tensor & weight, const at::Tensor & indices,
  }
  return std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor>(output, offset2bag, bag_size, bag_size);
  }
  -}
  static inline at::Tensor expand_values_if_needed(const at::Tensor& values) {
  // expand
  