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

Class DTRCommand

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

Source from the content-addressed store, hash-verified

112};
113
114class DTRCommand final : public OperatorImpl<DTRCommand, Operator::GetAttrLike> {
115public:
116 enum Kind {
117 None,
118 Drop,
119 };
120
121private:
122 Kind m_kind = None;
123
124public:
125 DTRCommand(Kind kind) : m_kind(kind) {}
126
127 Kind kind() const { return m_kind; }
128 std::string raw_type() const { return "DTRCommand"; }
129
130 std::string to_string() const override;
131
132 ValueRefList fallback(Span<ValueRef> inputs) const override { return {}; }
133};
134
135// deprecated
136class GetName final : public OperatorImpl<GetName, Operator::GetAttrLike> {

Callers 1

_dropMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected