Class OpMapperContext
Defined in File op_mapper_registry.h
Nested Relationships
Nested Types
Class Documentation
-
class
cinn::frontend
::
OpMapperContext
Public Functions
-
OpMapperContext
(const hlir::framework::Scope &scope, const common::Target &target, NetBuilder *builder, std::unordered_map<std::string, Variable> *var_map, std::unordered_map<std::string, std::string> *var_model_to_program_map, std::unordered_set<std::string> *fetch_var_names)
-
const auto &
Scope
() const
-
const auto &
Target
() const
-
NetBuilder *
Builder
() const
-
void
AddVarModelToProgram
(const std::string &name, const std::string &id) const
-
void
AddFetchVarName
(const std::string &name) const
-
struct
FeedInfo
-