MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / AsFormat

Class AsFormat

imperative/src/include/megbrain/imperative/basic_operators.h:199–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197};
198
199class AsFormat final : public OperatorImpl<AsFormat, Operator::IdentityLike> {
200private:
201 Format m_format;
202
203public:
204 AsFormat(std::string format) : m_format(format) {}
205
206 Format format() const { return m_format; }
207 std::string raw_type() const { return "AsFormat"; }
208
209 std::string to_string() const override;
210};
211
212class GetVarVal final : public OperatorImpl<GetVarVal, Operator::GetAttrLike> {
213public:

Callers 1

as_formatMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected