OpenVINO 2022.1 introduces a new version of OpenVINO API (API 2.0). For more information on the changes and transition steps, see the transition guide
Casts a std::shared_ptr<Value> to a std::shared_ptr<Type> if it is of type Type, nullptr otherwise
#include <type.hpp> template <typename In> struct AsTypePtr<std::shared_ptr<In>> { // methods template <typename Type> static std::shared_ptr<Type> call(const std::shared_ptr<In>& value); };