Home
last modified time | relevance | path

Searched refs:name_map (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dstatic_schedule.cc56 std::unordered_map<string, const NodeDef*> name_map; in EstimateEarliestExecutionTimes() local
60 name_map[node.name()] = &node; in EstimateEarliestExecutionTimes()
77 auto it = name_map.find(node_name); in EstimateEarliestExecutionTimes()
78 if (it == name_map.end()) { in EstimateEarliestExecutionTimes()
86 name_map.clear(); in EstimateEarliestExecutionTimes()
127 std::unordered_map<string, const NodeDef*> name_map; in EstimateRequiredTimes() local
129 name_map[node.name()] = &node; in EstimateRequiredTimes()
137 auto it = name_map.find(node_name); in EstimateRequiredTimes()
138 if (it == name_map.end()) { in EstimateRequiredTimes()
170 const NodeDef* fanin = name_map[NodeName(fanin_name)]; in EstimateRequiredTimes()
Dmemory_optimizer.cc697 const std::unordered_map<string, const NodeDef*>& name_map, in BuildSwapPair() argument
714 if (name_map.find(swap_out_name) != name_map.end() || in BuildSwapPair()
715 name_map.find(swap_in_name) != name_map.end()) { in BuildSwapPair()
771 const std::unordered_map<string, const NodeDef*>& name_map, in FindSwapInTrigger() argument
781 auto it1 = name_map.find(input_node_name); in FindSwapInTrigger()
782 if (it1 == name_map.end()) { in FindSwapInTrigger()
812 auto it1 = name_map.find(input_node_name); in FindSwapInTrigger()
813 if (it1 == name_map.end()) { in FindSwapInTrigger()
1156 std::unordered_map<string, const NodeDef*> name_map; in SwappingPass() local
1158 name_map[node.name()] = &node; in SwappingPass()
[all …]
/external/tensorflow/tensorflow/contrib/py2tf/pyct/
Dast_util.py74 def __init__(self, name_map): argument
75 self.name_map = name_map
79 if qn in self.name_map:
80 return gast.Name(str(self.name_map[qn]), node.ctx, None)
90 def rename_symbols(node, name_map): argument
91 renamer = SymbolRenamer(name_map)
/external/tensorflow/tensorflow/core/framework/
Dmemory_types.cc32 int GetTotal(const NameRangeMap& name_map) { in GetTotal() argument
34 for (const auto& item : name_map) { in GetTotal()
43 void MemoryTypesHelper(const NameRangeMap& name_map, in MemoryTypesHelper() argument
49 auto iter = name_map.find((*host_memory_args)[i]); in MemoryTypesHelper()
50 if (iter != name_map.end()) { in MemoryTypesHelper()
/external/capstone/
Dutils.h36 typedef struct name_map { struct
39 } name_map; argument
43 int name2id(name_map* map, int max, const char *name);
Dutils.c41 int name2id(name_map* map, int max, const char *name) in name2id()
/external/tensorflow/tensorflow/contrib/py2tf/impl/
Dconversion.py73 self.name_map = {}
77 return naming.Namer(namespace, self.recursive, self.name_map,
82 if o in self.name_map:
83 if self.name_map[o] != name:
89 self.name_map[o] = name
134 for obj in conversion_map.name_map.keys():
Dnaming.py37 def __init__(self, global_namespace, recursive, name_map, partial_types): argument
43 if name_map is not None:
44 self.renamed_calls.update(name_map)
/external/tensorflow/tensorflow/python/training/
Dmoving_averages.py494 name_map = {}
504 name_map[self.average_name(v)] = v
508 if v.name not in moving_avg_variable_names and v.op.name not in name_map:
509 name_map[v.op.name] = v
510 return name_map
/external/toolchain-utils/deprecated/
Drun_benchmarks.py52 name_map = { variable
81 benchname = name_map[benchname]
95 benchname = name_map[benchname]
/external/tensorflow/tensorflow/cc/framework/
Dscope.cc39 Scope::Impl::Impl(Graph* graph, Status* status, NameMap* name_map, in Impl() argument
43 name_map_(name_map), in Impl()
51 const std::shared_ptr<NameMap>& name_map, in Impl() argument
55 name_map_(name_map), in Impl()
435 Scope::Impl::NameMap* name_map = new Scope::Impl::NameMap; in NewScope() local
437 (*name_map)[node->name()] = 0; in NewScope()
444 std::shared_ptr<Scope::Impl::NameMap>(name_map), in NewScope()
Dscope_internal.h43 const std::shared_ptr<NameMap>& name_map,
64 Impl(Graph* graph, Status* status, NameMap* name_map, ShapeRefiner* refiner,
/external/lisa/libs/utils/android/workloads/
Dsysapp.py61 name_map = {
65 return name_map[name_start]
/external/capstone/arch/XCore/
DXCoreMapping.c16 static name_map reg_name_maps[] = {
1400 static name_map insn_name_maps[] = {
1526 static name_map alias_insn_names[] = {
1552 static name_map group_name_maps[] = {
/external/capstone/arch/Sparc/
DSparcMapping.c17 static name_map reg_name_maps[] = {
2836 static name_map insn_name_maps[] = {
3123 static name_map alias_insn_names[] = {
3149 static name_map group_name_maps[] = {
3232 static name_map alias_icc_maps[] = {
3251 static name_map alias_fcc_maps[] = {
3289 static name_map hint_maps[] = {
/external/tensorflow/tensorflow/c/
Dc_api_internal.h84 std::unordered_map<tensorflow::string, tensorflow::Node*> name_map
Dc_api.cc1352 if (desc->graph->name_map.count(desc->node_builder.node_name())) { in TF_FinishOperationLocked()
1370 desc->graph->name_map[ret->name()] = ret; in TF_FinishOperationLocked()
1846 auto iter = graph->name_map.find(oper_name); in TF_GraphOperationByName()
1847 if (iter == graph->name_map.end()) { in TF_GraphOperationByName()
2012 if (node != nullptr) graph->name_map[node->name()] = node; in GraphImportGraphDefLocked()
2334 parent->name_map[new_node->name()] = new_node; in TF_FinishWhileHelper()
2399 g->name_map[n->name()] = n; in TF_AddGradients()
2448 if (!graph->name_map.empty()) { in TF_LoadSessionFromSavedModel()
/external/python/cpython2/Tools/gdb/
Dlibpython.py331 name_map = {'bool': PyBoolObjectPtr,
340 if tp_name in name_map:
341 return name_map[tp_name]
/external/python/cpython3/Tools/gdb/
Dlibpython.py358 name_map = {'bool': PyBoolObjectPtr,
366 if tp_name in name_map:
367 return name_map[tp_name]
/external/capstone/arch/SystemZ/
DSystemZMapping.c17 static name_map reg_name_maps[] = {
4347 static name_map insn_name_maps[] = {
5034 static name_map alias_insn_names[] = {
5060 static name_map group_name_maps[] = {
/external/llvm/test/DebugInfo/X86/
Dearlydup-crash.ll70 !23 = !DIDerivedType(tag: DW_TAG_member, name: "name_map", line: 584, size: 32, align: 32, offset: …
/external/swiftshader/third_party/LLVM/test/DebugInfo/X86/
Dearlydup-crash.ll68 !23 = metadata !{i32 589837, metadata !14, metadata !"name_map", metadata !13, i32 584, i64 32, i64…
/external/libdrm/intel/
Dintel_bufmgr_gem.c3151 } name_map[] = { in parse_devid_override() local
3165 for (i = 0; i < ARRAY_SIZE(name_map); i++) { in parse_devid_override()
3166 if (!strcmp(name_map[i].name, devid_override)) in parse_devid_override()
3167 return name_map[i].pci_id; in parse_devid_override()
/external/capstone/arch/PowerPC/
DPPCMapping.c17 static name_map reg_name_maps[] = {
6927 static name_map insn_name_maps[] = {
7868 static name_map alias_insn_names[] = {
7894 static name_map group_name_maps[] = {
/external/capstone/arch/ARM/
DARMMapping.c17 static name_map reg_name_maps[] = {
130 static name_map reg_name_maps2[] = {
13579 static name_map insn_name_maps[] = {
14034 static name_map group_name_maps[] = {

12