Class OpMapper

Class Documentation

class cinn::frontend::OpMapper

Public Types

using OpMapperFunc = std::function<void(const paddle::cpp::OpDesc&, const OpMapperContext&)>

Public Functions

OpMapper() = default
OpMapper &Set(const OpMapperFunc &kernel)
void Run(const paddle::cpp::OpDesc &op_desc, const OpMapperContext &ctx) const

Public Members

std::string name