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

Class GetId

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

Source from the content-addressed store, hash-verified

142};
143
144class GetId final : public OperatorImpl<GetId, Operator::GetAttrLike> {
145public:
146 std::string to_string() const override;
147 std::string raw_type() const { return "GetId"; }
148
149 ValueRefList fallback(Span<ValueRef> inputs) const override { return {ValueRef()}; }
150};
151
152/**
153 * \brief return a value with new name

Callers 2

init_tensorFunction · 0.85
handle_idMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected