Searched refs:num_element (Results 1 – 3 of 3) sorted by relevance
/third_party/mindspore/mindspore/core/abstract/ |
D | param_validator.cc | 199 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()
|
D | param_validator.h | 59 const size_t num_element);
|
/third_party/mindspore/mindspore/core/ops/ |
D | conv2d.cc | 57 …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()
|