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

Class SetFormat

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

Source from the content-addressed store, hash-verified

184};
185
186class SetFormat final : public OperatorImpl<SetFormat, Operator::IdentityLike> {
187private:
188 Format m_format;
189
190public:
191 SetFormat(std::string format) : m_format(format) {}
192
193 Format format() const { return m_format; }
194 std::string raw_type() const { return "SetFromat"; }
195
196 std::string to_string() const override;
197};
198
199class AsFormat final : public OperatorImpl<AsFormat, Operator::IdentityLike> {
200private:

Callers 2

set_formatMethod · 0.85
bn1d_ruleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected