Searched refs:attr_key (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/data/ |
D | hash_utils.cc | 320 const auto& attr_key = attr.name(); in HashNodeNonInput() local 321 if (!node->attr().contains(attr_key)) continue; in HashNodeNonInput() 322 auto attr_value = node->attr().at(attr_key); in HashNodeNonInput() 323 if (attr_key == kColocationAttrName || in HashNodeNonInput() 324 attr_key == kColocationGroupPrefix) { in HashNodeNonInput() 329 HashAttr(attr_key, attr_value, hash_functions, &attr_hash)); in HashNodeNonInput() 363 const auto& attr_key = attr.name(); in CheckNodesEqualNonInput() local 364 if (this_node->attr().contains(attr_key) != in CheckNodesEqualNonInput() 365 that_node->attr().contains(attr_key)) { in CheckNodesEqualNonInput() 367 "attr with key ", attr_key, " is different for nodes ", in CheckNodesEqualNonInput() [all …]
|
/external/wpa_supplicant_8/src/common/ |
D | dpp_pkex.c | 350 const u8 *attr_group, *attr_id, *attr_key; in dpp_pkex_rx_exchange_req() local 417 attr_key = dpp_get_attr(buf, len, DPP_ATTR_ENCRYPTED_KEY, in dpp_pkex_rx_exchange_req() 419 if (!attr_key || attr_key_len & 0x01 || attr_key_len < 2 || in dpp_pkex_rx_exchange_req() 438 Mx = BN_bin2bn(attr_key, attr_key_len / 2, NULL); in dpp_pkex_rx_exchange_req() 439 My = BN_bin2bn(attr_key + attr_key_len / 2, attr_key_len / 2, NULL); in dpp_pkex_rx_exchange_req() 473 os_memcpy(pkex->Mx, attr_key, attr_key_len / 2); in dpp_pkex_rx_exchange_req() 689 const u8 *attr_status, *attr_id, *attr_key, *attr_group; in dpp_pkex_rx_exchange_resp() local 760 attr_key = dpp_get_attr(buf, buflen, DPP_ATTR_ENCRYPTED_KEY, in dpp_pkex_rx_exchange_resp() 762 if (!attr_key || attr_key_len & 0x01 || attr_key_len < 2) { in dpp_pkex_rx_exchange_resp() 779 Nx = BN_bin2bn(attr_key, attr_key_len / 2, NULL); in dpp_pkex_rx_exchange_resp() [all …]
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | debug_graph_reconstruction_test.py | 72 for attr_key in new_node.attr: 73 if attr_key == "parallel_iterations": 74 new_node.attr[attr_key].i = 1
|
/external/tensorflow/tensorflow/compiler/mlir/tfr/passes/ |
D | raise_to_tf.cc | 330 auto attr_key = tensor_type.getAttrKeys().front(); in DeriveOutputTypes() local 332 attrs.lookup(attr_key.getValue()).cast<TypeAttr>().getValue())); in DeriveOutputTypes()
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | utils.cc | 144 string attr_key = absl::StrCat("input_", i, "_filesize"); in ExtractExtraProperties() local 145 (*op_info->mutable_attr())[attr_key] = attr; in ExtractExtraProperties()
|
/external/tensorflow/tensorflow/python/framework/ |
D | test_util.py | 281 for attr_key in node.attr: 282 attr_tensor_value = node.attr[attr_key].tensor 288 delete_keys.append(attr_key) 289 for attr_key in delete_keys: 290 del node.attr[attr_key] 303 for attr_key in delete_keys: 304 del node.attr[attr_key]
|
/external/tensorflow/tensorflow/python/debug/cli/ |
D | analyzer_cli.py | 1539 for attr_key in attrs: 1540 lines.append(" %s:" % attr_key) 1541 attr_val_str = repr(attrs[attr_key]).strip().replace("\n", " ")
|
/external/tensorflow/tensorflow/compiler/mlir/lite/ |
D | flatbuffer_export.cc | 1542 mlir::DictionaryAttr attr, const std::string& attr_key) { in GetStringsFromAttrWithSeparator() argument 1544 if (auto str = attr.get(attr_key).dyn_cast_or_null<mlir::StringAttr>()) { in GetStringsFromAttrWithSeparator()
|