Skip to content

Commit

Permalink
Aligh default reduction with base
Browse files Browse the repository at this point in the history
  • Loading branch information
mmikolajcz committed May 17, 2024
1 parent 2d57b4d commit f457c07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/core/include/openvino/op/embeddingbag_offsets.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,18 @@ class OPENVINO_API EmbeddingBagOffsets : public util::EmbeddingBagOffsetsBase {
const Output<Node>& offsets,
const Output<Node>& default_index,
const Output<Node>& per_sample_weights,
const Reduction& reduction = Reduction::MEAN);
const Reduction& reduction = Reduction::SUM);

EmbeddingBagOffsets(const Output<Node>& emb_table,
const Output<Node>& indices,
const Output<Node>& offsets,
const Output<Node>& default_index,
const Reduction& reduction = Reduction::MEAN);
const Reduction& reduction = Reduction::SUM);

EmbeddingBagOffsets(const Output<Node>& emb_table,
const Output<Node>& indices,
const Output<Node>& offsets,
const Reduction& reduction = Reduction::MEAN);
const Reduction& reduction = Reduction::SUM);

std::shared_ptr<Node> clone_with_new_inputs(const OutputVector& new_args) const override;
};
Expand Down
4 changes: 2 additions & 2 deletions src/core/include/openvino/op/embeddingbag_packed.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ class OPENVINO_API EmbeddingBagPacked : public util::EmbeddingBagPackedBase {
EmbeddingBagPacked(const Output<Node>& emb_table,
const Output<Node>& indices,
const Output<Node>& per_sample_weights,
const Reduction& reduction = Reduction::MEAN);
const Reduction& reduction = Reduction::SUM);

EmbeddingBagPacked(const Output<Node>& emb_table,
const Output<Node>& indices,
const Reduction& reduction = Reduction::MEAN);
const Reduction& reduction = Reduction::SUM);

std::shared_ptr<Node> clone_with_new_inputs(const OutputVector& new_args) const override;
};
Expand Down

0 comments on commit f457c07

Please sign in to comment.