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

Method empty

imperative/src/include/megbrain/imperative/subgraph.h:79–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 SmallVector<bool> gen_input_mask();
78 SmallVector<bool> gen_output_mask();
79 bool empty() const { return outputs.size() == 0; }
80 void replace_vars(const std::unordered_map<size_t, size_t>& replace_map);
81 std::string repr() const;
82 bool is_single() const;

Callers 7

checkMethod · 0.45
operator==Method · 0.45
hashMethod · 0.45
SubgraphOpMethod · 0.45
clearMethod · 0.45
operator()Method · 0.45
operator()Method · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected