class ov::DirectValueAccessor¶
Overview¶
#include <attribute_adapter.hpp>
template <typename AT>
class DirectValueAccessor: public ov::ValueAccessor
{
public:
// construction
DirectValueAccessor(AT& ref);
// methods
virtual const AT& get();
virtual void set(const AT& value);
};
// direct descendants
template <>
class AttributeAdapter<bool>;
template <>
class AttributeAdapter<double>;
template <>
class AttributeAdapter<int64_t>;
template <>
class AttributeAdapter<op::v5::Loop::SpecialBodyPorts>;
template <>
class AttributeAdapter<ov::Dimension>;
template <>
class AttributeAdapter<ov::element::TypeVector>;
template <>
class AttributeAdapter<ov::op::util::FrameworkNodeAttrs>;
template <>
class AttributeAdapter<ov::PartialShape>;
template <>
class AttributeAdapter<std::set<std::string>>;
template <>
class AttributeAdapter<std::shared_ptr<ngraph::runtime::AlignedBuffer>>;
template <>
class AttributeAdapter<std::shared_ptr<op::util::Variable>>;
template <>
class AttributeAdapter<std::shared_ptr<ov::Model>>;
template <>
class AttributeAdapter<std::string>;
template <>
class AttributeAdapter<std::vector<double>>;
template <>
class AttributeAdapter<std::vector<float>>;
template <>
class AttributeAdapter<std::vector<int16_t>>;
template <>
class AttributeAdapter<std::vector<int32_t>>;
template <>
class AttributeAdapter<std::vector<int64_t>>;
template <>
class AttributeAdapter<std::vector<int8_t>>;
template <>
class AttributeAdapter<std::vector<std::shared_ptr<op::util::MultiSubGraphOp::InputDescription>>>;
template <>
class AttributeAdapter<std::vector<std::shared_ptr<op::util::MultiSubGraphOp::OutputDescription>>>;
template <>
class AttributeAdapter<std::vector<std::string>>;
template <>
class AttributeAdapter<std::vector<uint16_t>>;
template <>
class AttributeAdapter<std::vector<uint32_t>>;
template <>
class AttributeAdapter<std::vector<uint64_t>>;
template <>
class AttributeAdapter<std::vector<uint8_t>>;
Inherited Members¶
public:
// methods
virtual const VAT& get() = 0;
virtual void set(const VAT& value) = 0;
void set_as_any(const ov::Any& x);
Detailed Documentation¶
Methods¶
virtual const AT& get()
Returns the value.
virtual void set(const AT& value)
Sets the value.