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

Method Bool

lite/load_and_run/src/helpers/common.h:155–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153 */
154struct Bool final : public Value {
155 Bool(bool v) : m_val(v), m_default_val(v) {}
156 static std::shared_ptr<Bool> make(bool v) { return std::make_shared<Bool>(v); }
157 void set_value(bool v) { m_val = v; }
158 bool get_value() { return m_val; }

Callers 1

utils.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected