Home
last modified time | relevance | path

Searched refs:lookup_node (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/tools/graph_transforms/
Dsparsify_gather.cc385 NodeDef lookup_node; in SparsifyGatherInternal() local
386 lookup_node.set_op("LookupTableFind"); in SparsifyGatherInternal()
387 lookup_node.set_name(StrCat(gather_node.name(), "/LookupTableFind")); in SparsifyGatherInternal()
388 SetNodeAttr("Tin", key_dtype, &lookup_node); in SparsifyGatherInternal()
389 SetNodeAttr("Tout", data_type, &lookup_node); in SparsifyGatherInternal()
424 AddNodeInput(hashtable_node.name(), &lookup_node); in SparsifyGatherInternal()
426 AddNodeInput(gather_node.input(1), &lookup_node); in SparsifyGatherInternal()
428 AddNodeInput(default_value_node.name(), &lookup_node); in SparsifyGatherInternal()
431 AddNodeInput(lookup_node.name(), &expand_dims_node); in SparsifyGatherInternal()
432 refs[lookup_node.name()]++; in SparsifyGatherInternal()
[all …]
/external/tensorflow/tensorflow/core/grappler/clusters/
Dsingle_machine_test.cc470 NodeDef* lookup_node = item.graph.add_node(); in TEST_F() local
471 lookup_node->set_op("LookupTableFind"); in TEST_F()
472 lookup_node->set_name("table_lookup"); in TEST_F()
473 SetNodeAttr("Tin", key_dtype, lookup_node); in TEST_F()
474 SetNodeAttr("Tout", data_dtype, lookup_node); in TEST_F()
475 *lookup_node->add_input() = "hash_table"; in TEST_F()
476 *lookup_node->add_input() = "query"; in TEST_F()
477 *lookup_node->add_input() = "default_table_value"; in TEST_F()
478 item.fetch.push_back(lookup_node->name()); in TEST_F()
/external/python/cpython2/Lib/compiler/
Dtransformer.py365 exprNode = self.lookup_node(en)(en[1:])
715 node = self.lookup_node(nodelist[-1])(nodelist[-1][1:])
797 def lookup_node(self, node): member in Transformer
1082 return self.lookup_node(n)(n[1:])
1086 items.append(self.lookup_node(n)(n[1:]))
1090 result = self.lookup_node(node)(node[1:])
1097 result = self.lookup_node(node)(node[1:])
/external/libfuse/lib/
Dfuse.c853 static struct node *lookup_node(struct fuse *f, fuse_ino_t parent, in lookup_node() function
883 node = lookup_node(f, parent, name); in find_node()
927 struct node *node = lookup_node(f, ino, path_element); in lookup_path_in_cache()
1026 wnode = lookup_node(f, nodeid, name); in try_get_path()
1166 wnode = lookup_node(f, nodeid, name); in debug_path()
1280 node1 = lookup_node(f, nodeid1, name1); in check_dir_loop()
1283 node2 = lookup_node(f, nodeid2, name2); in check_dir_loop()
1462 node = lookup_node(f, dir, name); in remove_node()
1476 node = lookup_node(f, olddir, oldname); in rename_node()
1477 newnode = lookup_node(f, newdir, newname); in rename_node()
[all …]