Home
last modified time | relevance | path

Searched refs:leaf_id (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/tensor_forest/
Dprediction_ops.cc67 const int32 leaf_id = in Compute() local
69 set_output_value(example_id, leaf_id, decision_tree_resource, &out); in Compute()
77 const int32 example_id, const int32 leaf_id, in set_output_value() argument
81 const float logit = decision_tree_resource->get_prediction(leaf_id, j); in set_output_value()
/external/tensorflow/tensorflow/python/module/
Dmodule.py382 leaf_id = id(leaf)
383 if leaf_id in seen:
385 seen.add(leaf_id)
/external/cpu_features/src/
Dcpuinfo_x86.c123 Leaf GetCpuidLeaf(uint32_t leaf_id, int ecx) { in GetCpuidLeaf() argument
125 __cpuid_count(leaf_id, ecx, leaf.eax, leaf.ebx, leaf.ecx, leaf.edx); in GetCpuidLeaf()
143 Leaf GetCpuidLeaf(uint32_t leaf_id, int ecx) { in GetCpuidLeaf() argument
146 __cpuidex(data, leaf_id, ecx); in GetCpuidLeaf()
160 static Leaf CpuId(uint32_t leaf_id) { return GetCpuidLeaf(leaf_id, 0); } in CpuId() argument
164 static Leaf SafeCpuIdEx(uint32_t max_cpuid_leaf, uint32_t leaf_id, int ecx) { in SafeCpuIdEx() argument
165 if (leaf_id <= max_cpuid_leaf) { in SafeCpuIdEx()
166 return GetCpuidLeaf(leaf_id, ecx); in SafeCpuIdEx()
172 static Leaf SafeCpuId(uint32_t max_cpuid_leaf, uint32_t leaf_id) { in SafeCpuId() argument
173 return SafeCpuIdEx(max_cpuid_leaf, leaf_id, 0); in SafeCpuId()
[all …]
/external/cpu_features/include/internal/
Dcpuid_x86.h30 Leaf GetCpuidLeaf(uint32_t leaf_id, int ecx);
/external/cpu_features/test/
Dcpuinfo_x86_test.cc33 Leaf GetCpuidLeaf(uint32_t leaf_id, int ecx) const { in GetCpuidLeaf() argument
34 const auto itr = cpuid_leaves_.find(std::make_pair(leaf_id, ecx)); in GetCpuidLeaf()
84 extern "C" Leaf GetCpuidLeaf(uint32_t leaf_id, int ecx) { in GetCpuidLeaf() argument
85 return g_fake_cpu->GetCpuidLeaf(leaf_id, ecx); in GetCpuidLeaf()
/external/bcc/src/cc/frontends/b/
Dtype_check.cc262 …auto result = make_unique<StructVariableDeclStmtNode>(table->leaf_id()->copy(), make_unique<IdentE… in check_lookup_method()
355 …return mkstatus_(n, "Field %s is not a member of %s", n->sub_->c_str(), n->table_->leaf_id()->c_st… in visit_table_index_expr_node()
517 n->leaf_type_ = scopes_->top_struct()->lookup(n->leaf_id()->name_, true); in visit_table_decl_stmt_node()
519 return mkstatus_(n, "Table leaf type %s undefined", n->leaf_id()->c_str()); in visit_table_decl_stmt_node()
520 n->leaf_id()->bit_width_ = n->leaf_type_->bit_width_; in visit_table_decl_stmt_node()
Dcodegen_llvm.cc601 if (table->leaf_id()->name_ != arg1_type->struct_id_->name_) { in emit_table_lookup()
602 return mkstatus_(n, "lookup pointer type mismatch %s != %s", table->leaf_id()->c_str(), in emit_table_lookup()
824 B.CreateMemSet(leaf_ptr, B.getInt8(0), B.getInt64(n->table_->leaf_id()->bit_width_ >> 3), 1); in visit_table_index_expr_node()
1087 auto leaf = scopes_->top_struct()->lookup(n->leaf_id()->name_, /*search_local*/true); in visit_table_decl_stmt_node()
1088 if (!leaf) return mkstatus_(n, "cannot find leaf %s", n->leaf_id()->name_.c_str()); in visit_table_decl_stmt_node()
Dnode.h593 IdentExprNode * leaf_id() { return templates_.at(1).get(); } in leaf_id() function
/external/avb/
Daftltool_test.py503 leaf_id = icp[0] - 1
504 leaf_hash = aftltool.rfc6962_hash_leaf(leaves[leaf_id])
505 root_hash = aftltool.root_from_icp(leaf_id, icp[1], icp[2], leaf_hash)