Class ov::frontend::DecoderBase

class DecoderBase : public ov::frontend::IDecoder

Public Functions

virtual ov::Any get_attribute(const std::string &name) const = 0

Get attribute value by name.

Parameters

name – Attribute name

Returns

Shared pointer to appropriate value converted to openvino data type if it exists, ‘nullptr’ otherwise

virtual size_t get_input_size() const = 0

Get a number of inputs.

virtual void get_input_node(size_t input_port_idx, std::string &producer_name, std::string &producer_output_port_name, size_t &producer_output_port_index) const = 0

Get a producer name and its output port index.

Parameters
  • input_port_idxInput port index by which data is consumed

  • producer_name – A producer name

  • producer_output_port_nameOutput port name if exists

  • producer_output_port_indexOutput port index from which data is generated

virtual const std::string &get_op_type() const = 0

Get operation type.

virtual const std::string &get_op_name() const = 0

Get node name.

virtual ~DecoderBase()

Destructor.