openvino.runtime.opset11.embedding_bag_packed_sum#
- openvino.runtime.opset11.embedding_bag_packed_sum(emb_table: Node | int | float | ndarray, indices: Node | int | float | ndarray, per_sample_weights: Node | int | float | ndarray | None = None, name: str | None = None) Node #
Return an EmbeddingBagPackedSum node.
EmbeddingSegmentsSum constructs an output tensor by replacing every index in a given input tensor with a row (from the weights matrix) at that index
- Parameters:
emb_table – Tensor containing the embedding lookup table.
indices – Tensor with indices.
per_sample_weights – Weights to be multiplied with embedding table.
name – Optional name for output node.
- Returns:
EmbeddingBagPackedSum node