Home
last modified time | relevance | path

Searched refs:num_element (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/mindspore/core/abstract/
Dparam_validator.cc199 const size_t num_element) { in CheckAttrIntOrTuple() argument
206 if (start_idx > attr_vec.size() || start_idx + num_element > attr_vec.size()) { in CheckAttrIntOrTuple()
208 … << "but start idx got" << start_idx << " num element " << num_element; in CheckAttrIntOrTuple()
211 (void)std::transform(it_start, it_start + num_element, std::back_inserter(result), in CheckAttrIntOrTuple()
217 (void)result.insert(result.begin(), num_element, attr_val); in CheckAttrIntOrTuple()
Dparam_validator.h59 const size_t num_element);
/third_party/mindspore/mindspore/core/ops/
Dconv2d.cc57 …64_t> CheckAttrIntOrTuple(const ValuePtr &attr, const size_t start_idx, const size_t num_element) { in CheckAttrIntOrTuple() argument
63 (void)std::transform(it_start, it_start + SizeToLong(num_element), std::back_inserter(result), in CheckAttrIntOrTuple()
67 (void)result.insert(result.begin(), num_element, attr_val); in CheckAttrIntOrTuple()