interface ngraph::snippets::Generator¶
Overview¶
Target independent code generator interface. More…
#include <generator.hpp>
template Generator
{
// construction
Generator(const std::shared_ptr<TargetMachine>& t);
// methods
code generate(
std::shared_ptr<ov::Model>& m,
const void \* compile_params = nullptr
) const;
std::shared_ptr<const TargetMachine> get_target_machine() const;
};
Detailed Documentation¶
Target independent code generator interface.
Methods¶
virtual method any specific implementation should implement
Parameters:
m |
model in canonical for for table-based code generation |
Returns:
pointer to generated code
std::shared_ptr<const TargetMachine> get_target_machine() const
gets target machine
Returns:
pointer to constant target machine