/third_party/mindspore/mindspore/core/abstract/ |
D | param_validator.cc | 191 int64_t attr_val = int64_value->value(); in CheckAttrPositiveInt64() local 192 if (attr_val <= 0) { in CheckAttrPositiveInt64() 193 …MS_LOG(EXCEPTION) << op << " invalid " << attr_name << " value: " << attr_val << ", should be grea… in CheckAttrPositiveInt64() 195 return attr_val; in CheckAttrPositiveInt64() 216 int64_t attr_val = int64_imm->value(); in CheckAttrIntOrTuple() local 217 (void)result.insert(result.begin(), num_element, attr_val); in CheckAttrIntOrTuple() 227 std::string attr_val = string_attr->value(); in CheckAttrStringSet() local 228 if (val_set.find(attr_val) == val_set.end()) { in CheckAttrStringSet() 241 …MS_LOG(EXCEPTION) << op << "Unsupported " << attr_name << ": " << attr_val << ". use " << buffer.s… in CheckAttrStringSet() 243 return attr_val; in CheckAttrStringSet()
|
/third_party/mindspore/mindspore/lite/tools/converter/acl/mapper/ |
D | batchnorm_mapper.cc | 33 auto attr_val = src_prim->GetAttr(ops::kFmkType); in Mapper() local 34 int fmk_type = attr_val != nullptr ? GetValue<int>(attr_val) : converter::kFmkTypeTf; in Mapper()
|
D | stridedslice_mapper.cc | 34 auto attr_val = src_prim->GetAttr(ops::kFmkType); in Mapper() local 35 int fmk_type = attr_val != nullptr ? GetValue<int>(attr_val) : converter::kFmkTypeTf; in Mapper()
|
D | conv2d_transpose_fusion_mapper.cc | 33 auto attr_val = src_prim->GetAttr(ops::kFmkType); in Mapper() local 34 int fmk_type = attr_val != nullptr ? GetValue<int>(attr_val) : converter::kFmkTypeTf; in Mapper()
|
D | maxpool_fusion_mapper.cc | 33 auto attr_val = src_prim->GetAttr(ops::kFmkType); in Mapper() local 34 int fmk_type = attr_val != nullptr ? GetValue<int>(attr_val) : converter::kFmkTypeTf; in Mapper()
|
D | avgpool_fusion_mapper.cc | 33 auto attr_val = src_prim->GetAttr(ops::kFmkType); in Mapper() local 34 int fmk_type = attr_val != nullptr ? GetValue<int>(attr_val) : converter::kFmkTypeTf; in Mapper()
|
D | primitive_mapper.cc | 170 auto attr_val = dst_prim->GetAttr(attr_name); in AddAttrToInput() local 171 if (attr_val == nullptr) { in AddAttrToInput() 179 auto value_data = opt::CastToVec2DInt(attr_val); in AddAttrToInput() 186 auto value_data = GetValue<float>(attr_val); in AddAttrToInput()
|
/third_party/libcoap/examples/ |
D | coap-rd.c | 310 coap_str_const_t attr_val; in add_source_address() local 357 attr_val.s = (const uint8_t *)buf; in add_source_address() 358 attr_val.length = n; in add_source_address() 361 &attr_val, in add_source_address() 412 coap_str_const_t attr_val; in hnd_post_rd() local 486 attr_val.s = buf; in hnd_post_rd() 487 attr_val.length = ins.length + 2; in hnd_post_rd() 490 &attr_val, in hnd_post_rd() 503 attr_val.s = buf; in hnd_post_rd() 504 attr_val.length = rt.length + 2; in hnd_post_rd() [all …]
|
/third_party/mindspore/mindspore/core/ops/ |
D | conv2d.cc | 50 int64_t attr_val = attr->cast<Int64ImmPtr>()->value(); in CheckAttrPositiveInt64() local 51 if (attr_val <= 0) { in CheckAttrPositiveInt64() 52 …MS_LOG(EXCEPTION) << op << " invalid " << attr_name << " value: " << attr_val << ", should be grea… in CheckAttrPositiveInt64() 54 return attr_val; in CheckAttrPositiveInt64() 66 int64_t attr_val = attr->cast<Int64ImmPtr>()->value(); in CheckAttrIntOrTuple() local 67 (void)result.insert(result.begin(), num_element, attr_val); in CheckAttrIntOrTuple()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/ |
D | validators.cc | 65 for (auto &attr_val : attr) { in ValidateVectorColorAttribute() local 66 RETURN_IF_NOT_OK(ValidateScalar(op_name, attr_name, attr_val, range, false, false)); in ValidateVectorColorAttribute()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/akg/ |
D | akg_kernel_json_generator.cc | 622 auto attr_val = fg->get_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL); in CollectFusedJson() local 624 if (attr_val != nullptr) { in CollectFusedJson() 625 auto fg_name = GetValue<std::string>(attr_val); in CollectFusedJson()
|
/third_party/ntfs-3g/include/ntfs-3g/ |
D | attrib.h | 284 } attr_val; typedef
|
/third_party/mindspore/mindspore/core/utils/ |
D | check_convert_utils.cc | 704 int64_t attr_val = attr->cast<Int64ImmPtr>()->value(); in CheckAttrIntOrTupleInt() local 705 result.push_back(attr_val); in CheckAttrIntOrTupleInt()
|