namespace ov::op::validate

Overview

namespace validate {

// global functions

template <class TShape>
std::string shape_infer_explanation_str(
    const std::vector<TShape>& shapes,
    const std::string& explanation
    );

} // namespace validate

Detailed Documentation

Global Functions

template <class TShape>
std::string shape_infer_explanation_str(
    const std::vector<TShape>& shapes,
    const std::string& explanation
    )

Provides NodeValidationFailure exception explanation string.

Parameters:

shapes

Vector of shapes used for inference to be printed before explanation.

explanation

String with exception explanation.

Returns:

Explanation string.