Class PaddleModelConvertor

Class Documentation

class cinn::frontend::PaddleModelConvertor

Public Functions

PaddleModelConvertor(hlir::framework::Scope *scope, const common::Target &target)
void PrepareRun(const paddle::cpp::BlockDesc &block_desc, OpMapperContext *ctx)
Program operator()(const std::string &model_dir, bool is_combined = false)
const auto &var_map() const
const auto &var_model_to_program_map() const
std::unordered_set<std::string> GetFetchIds() const

Public Static Functions

void RunOp(const paddle::cpp::OpDesc &op_desc, const OpMapperContext &ctx)