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

Method contain_attribute_any

dnn/src/common/algo_base.cpp:43–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43bool Algorithm::contain_attribute_any(const Attribute& attr) const {
44 return static_cast<bool>(attribute() & attr);
45}
46
47void Algorithm::check_attribute(
48 const Attribute& positive_attr, const Attribute& negative_attr) const {

Callers 3

profileMethod · 0.80
get_algo_match_attributeFunction · 0.80

Calls 1

attributeFunction · 0.50

Tested by

no test coverage detected