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

Method check_all_format_value

imperative/src/impl/transformations/format.cpp:100–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100inline bool FormatTransformation::check_all_format_value(
101 const Span<ValueRef>& inputs) const {
102 for (size_t i = 0; i < inputs.size(); ++i) {
103 if (!inputs[i].as_ref(m_value_type)) {
104 return false;
105 }
106 }
107 return true;
108}
109
110namespace {
111

Callers

nothing calls this directly

Calls 2

as_refMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected