/third_party/mindspore/mindspore/ |
D | context.py | 451 def get_auto_parallel_context(attr_key): argument 464 return _get_auto_parallel_context(attr_key) 786 def get_context(attr_key): argument 805 _ = _check_target_specific_cfgs(device, attr_key) 806 if hasattr(ctx, attr_key): 807 return getattr(ctx, attr_key) 809 if attr_key in ms_ctx_param.__members__ and attr_key[0] != '_': 810 return ctx.get_param(ms_ctx_param.__members__[attr_key]) 811 raise ValueError("Get context keyword %s is not recognized!" % attr_key) 877 def get_ps_context(attr_key): argument [all …]
|
/third_party/mindspore/mindspore/parallel/mpi/ |
D | _mpi_config.py | 100 def _get_mpi_config(attr_key): argument 113 if not hasattr(_mpi_config(), attr_key): 114 raise ValueError("Get context keyword %s is not recognized!" % attr_key) 115 return getattr(_mpi_config(), attr_key)
|
/third_party/gn/src/gn/ |
D | xml_element_writer.cc | 11 XmlAttributes::XmlAttributes(std::string_view attr_key, in XmlAttributes() argument 13 add(attr_key, attr_value); in XmlAttributes() 16 XmlAttributes& XmlAttributes::add(std::string_view attr_key, in add() argument 18 push_back(std::make_pair(attr_key, attr_value)); in add()
|
D | xml_element_writer.h | 20 XmlAttributes(std::string_view attr_key, std::string_view attr_value); 22 XmlAttributes& add(std::string_view attr_key, std::string_view attr_value);
|
/third_party/mindspore/mindspore/parallel/ |
D | algo_parameter_config.py | 263 def get_algo_parameters(attr_key): argument 281 if attr_key not in get_algo_parameters_config_func_map: 282 raise ValueError("Get context keyword %s is not recognized!" % attr_key) 283 get_func = get_algo_parameters_config_func_map[attr_key]
|
D | _ps_context.py | 160 def _get_ps_context(attr_key): argument 173 if attr_key not in _get_ps_context_func_map: 174 raise ValueError("Get PS context keyword %s is not recognized!" % attr_key) 175 get_func = _get_ps_context_func_map[attr_key]
|
D | _cost_model_context.py | 598 def get_cost_model_context(attr_key): argument 611 if attr_key not in get_cost_model_context_func_map: 612 raise ValueError("Get context keyword %s is not recognized!" % attr_key) 613 get_func = get_cost_model_context_func_map[attr_key]
|
D | _auto_parallel_context.py | 767 def _get_auto_parallel_context(attr_key): argument 780 if attr_key not in _get_auto_parallel_context_func_map: 781 raise ValueError("Get context keyword %s is not recognized!" % attr_key) 782 get_func = _get_auto_parallel_context_func_map[attr_key]
|
/third_party/mindspore/mindspore/lite/examples/runtime_extend/src/ |
D | custom_add_kernel.cc | 96 auto attr_key = attr->name()->str(); in ParseAttrData() local 104 attrs_[attr_key] = std::string(buf); in ParseAttrData()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | dpp_pkex.c | 346 const u8 *attr_group, *attr_id, *attr_key; in dpp_pkex_rx_exchange_req() local 431 attr_key = dpp_get_attr(buf, len, DPP_ATTR_ENCRYPTED_KEY, in dpp_pkex_rx_exchange_req() 433 if (!attr_key || attr_key_len & 0x01 || attr_key_len < 2 || in dpp_pkex_rx_exchange_req() 448 M = crypto_ec_point_from_bin(ec, attr_key); in dpp_pkex_rx_exchange_req() 483 os_memcpy(pkex->Mx, attr_key, attr_key_len / 2); in dpp_pkex_rx_exchange_req() 694 const u8 *attr_status, *attr_id, *attr_key, *attr_group; in dpp_pkex_rx_exchange_resp() local 782 attr_key = dpp_get_attr(buf, buflen, DPP_ATTR_ENCRYPTED_KEY, in dpp_pkex_rx_exchange_resp() 784 if (!attr_key || attr_key_len & 0x01 || attr_key_len < 2) { in dpp_pkex_rx_exchange_resp() 797 N = crypto_ec_point_from_bin(ec, attr_key); in dpp_pkex_rx_exchange_resp() 868 attr_key /* N.x */, attr_key_len / 2, in dpp_pkex_rx_exchange_resp()
|
/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/ |
D | op_adapter.cc | 497 int OpAdapterImpl::setAttr(const OperatorPtr &op, const std::string &attr_key, const ValuePtr &attr… in setAttr() argument 498 auto it = attr_map_.find(attr_key); in setAttr() 501 …MS_LOG(INFO) << "Set attr: " << attr_key << "(" << it->second.name << "), value: " << attr_value->… in setAttr() 502 adpt_->AddAttrToDrawGraph(attr_key + std::string("=") + attr_value->ToString()); in setAttr()
|
D | op_adapter.h | 91 int setAttr(const OperatorPtr &op, const std::string &attr_key, const ValuePtr &attr_value);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | dpp.c | 7260 const u8 *attr_group, *attr_id, *attr_key; in dpp_pkex_rx_exchange_req() local 7326 attr_key = dpp_get_attr(buf, len, DPP_ATTR_ENCRYPTED_KEY, in dpp_pkex_rx_exchange_req() 7328 if (!attr_key || attr_key_len & 0x01 || attr_key_len < 2 || in dpp_pkex_rx_exchange_req() 7347 Mx = BN_bin2bn(attr_key, attr_key_len / 2, NULL); in dpp_pkex_rx_exchange_req() 7348 My = BN_bin2bn(attr_key + attr_key_len / 2, attr_key_len / 2, NULL); in dpp_pkex_rx_exchange_req() 7382 os_memcpy(pkex->Mx, attr_key, attr_key_len / 2); in dpp_pkex_rx_exchange_req() 7599 const u8 *attr_status, *attr_id, *attr_key, *attr_group; in dpp_pkex_rx_exchange_resp() local 7670 attr_key = dpp_get_attr(buf, buflen, DPP_ATTR_ENCRYPTED_KEY, in dpp_pkex_rx_exchange_resp() 7672 if (!attr_key || attr_key_len & 0x01 || attr_key_len < 2) { in dpp_pkex_rx_exchange_resp() 7689 Nx = BN_bin2bn(attr_key, attr_key_len / 2, NULL); in dpp_pkex_rx_exchange_resp() [all …]
|