Class ov::op::v15::SearchSorted#

class SearchSorted : public ov::op::Op#

SearchSorted operation.

Public Functions

SearchSorted(const Output<Node> &sorted_sequence, const Output<Node> &values, bool right_mode = false)#

Constructs a SearchSorted operation.

Parameters:
  • sorted_sequence – Sorted sequence to search in.

  • values – Values to search indexs for.

  • right_mode – If False, return the first suitable index that is found for given value. If True, return the last such index.

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.