Class ov::op::v0::Result#

class Result : public ov::op::Op#

Result operation.

Public Functions

Result() = default#

Allows a value to be used as a function result.

Result(const Output<Node> &arg)#

Allows a value to be used as a function result.


argNode that produces the input tensor.

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.

virtual bool evaluate(ov::TensorVector &outputs, const ov::TensorVector &inputs) const override#

Evaluates the op on input_values putting results in output_values.

  • output_values – Tensors for the outputs to compute. One for each result

  • input_values – Tensors for the inputs. One for each inputs.


true if successful

virtual bool has_evaluate() const override#

Allows to get information about availability of evaluate method for the current operation.

Layout get_layout() const#

Returns current layout, or empty Layout if it is not set.

void set_layout(const Layout &layout)#

Sets layout runtime information to tensor.


layoutLayout to set. If empty (default constructed), layout runtime information is erased.