Class ov::op::v15::StringTensorPack#

class StringTensorPack : public ov::op::Op#

Operator packing a concatenated batch of strings into a batched string tensor.

Public Functions

StringTensorPack(const Output<Node> &begins, const Output<Node> &ends, const Output<Node> &symbols)#

Constructs a StringTensorPack operation.

Parameters:
  • begins – Indices of each string’s beginnings

  • ends – Indices of each string’s endings

  • symbols – Concatenated input strings encoded in utf-8 bytes

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.