Class ov::op::v13::ScaledDotProductAttention#

class ScaledDotProductAttention : public ov::op::Op#

Scaled dot product attention operation from PyTorch.

Public Functions

ScaledDotProductAttention() = default#

Constructs a ScaledDotProductAttention operation.

virtual void validate_and_infer_types() override#

Verifies that attributes and inputs are consistent and computes output shapes and element types. Must be implemented by concrete child classes so that it can be run any number of times.

Throws if the node is invalid.