/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/ |
fertile-stats-resource.cc | 24 const std::vector<int>& examples, int32 node_id, bool* is_finished) { 26 if (collection_op_->IsInitialized(node_id)) { 27 collection_op_->AddExample(input_data, target, examples, node_id); 33 input_data, target, example, node_id); 34 if (collection_op_->IsInitialized(node_id)) { 40 *is_finished = collection_op_->IsFinished(node_id); 43 void FertileStatsResource::AllocateNode(int32 node_id, int32 depth) { 44 collection_op_->InitializeSlot(node_id, depth); 59 bool FertileStatsResource::BestSplit(int32 node_id, SplitCandidate* best, 61 return collection_op_->BestSplit(node_id, best, depth) [all...] |
split_collection_operators.h | 41 virtual std::unique_ptr<GrowStats> CreateGrowStats(int32 node_id, 55 int32 node_id) const; 60 const InputTarget* target, int example, int32 node_id) const; 63 virtual void InitializeSlot(int32 node_id, int32 depth); 74 virtual void ClearSlot(int32 node_id) { stats_.erase(node_id); } 77 virtual bool IsInitialized(int32 node_id) const; 80 virtual bool IsFinished(int32 node_id) const { 81 return stats_.at(node_id)->IsFinished(); 84 // Fill in best with the best split that node_id has, return true if thi [all...] |
split_collection_operators.cc | 44 int32 node_id, int32 depth) const { 72 stats_[slot.node_id()] = CreateGrowStats(slot.node_id(), slot.depth()); 73 stats_[slot.node_id()]->ExtractFromProto(slot); 88 void SplitCollectionOperator::InitializeSlot(int32 node_id, int32 depth) { 89 stats_[node_id] = std::unique_ptr<GrowStats>(CreateGrowStats(node_id, depth)); 90 stats_[node_id]->Initialize(); 95 const std::vector<int>& examples, int32 node_id) const { 96 auto* slot = stats_.at(node_id).get() [all...] |
graph_collection_operator.cc | 28 int32 node_id, int32 depth) const { 32 int64 GraphRunnerSplitCollectionOperator::UniqueId(int32 node_id, 34 return node_id * num_splits_to_consider_ + split_id; 37 bool GraphRunnerSplitCollectionOperator::BestSplit(int32 node_id, 42 auto* slot = stats_.at(node_id).get(); 46 auto& runner = runners_[UniqueId(node_id, i)]; 61 auto& runner = runners_[UniqueId(node_id, best_index)]; 70 const std::vector<int>& examples, int32 node_id) const { 85 auto* slot = stats_.at(node_id).get(); 87 auto& runner = runners_[UniqueId(node_id, i)] [all...] |
fertile-stats-resource.h | 54 void ResetSplitStats(int32 node_id, int32 depth) { 55 collection_op_->ClearSlot(node_id); 56 collection_op_->InitializeSlot(node_id, depth); 70 int32 node_id, bool* is_finished); 82 bool BestSplit(int32 node_id, SplitCandidate* best, int32* depth); 90 void AllocateNode(int32 node_id, int32 depth);
|
graph_collection_operator.h | 48 std::unique_ptr<GrowStats> CreateGrowStats(int32 node_id, 55 int32 node_id) const override; 60 const InputTarget* target, int example, int32 node_id) const override; 62 bool BestSplit(int32 node_id, SplitCandidate* best, 65 void ClearSlot(int32 node_id) override; 68 int64 UniqueId(int32 node_id, int32 split_id) const;
|
/external/adhd/cras/src/common/ |
cras_observer_ops.h | 29 * When there is no active node, node_id is 0. */ 32 cras_node_id_t node_id); 35 cras_node_id_t node_id, 39 cras_node_id_t node_id, 43 cras_node_id_t node_id,
|
cras_messages.h | 225 cras_node_id_t node_id; member in struct:cras_set_node_attr 231 cras_node_id_t node_id, 236 m->node_id = node_id; 246 cras_node_id_t node_id; member in struct:cras_select_node 251 cras_node_id_t node_id) 255 m->node_id = node_id; 263 cras_node_id_t node_id; member in struct:cras_add_active_node 268 cras_node_id_t node_id) 280 cras_node_id_t node_id; member in struct:cras_rm_active_node 394 cras_node_id_t node_id; member in struct:cras_get_hotword_models 409 cras_node_id_t node_id; member in struct:cras_set_hotword_model 572 cras_node_id_t node_id; member in struct:cras_client_active_node_changed 587 cras_node_id_t node_id; member in struct:cras_client_node_value_changed [all...] |
/external/autotest/client/common_lib/cros/cfm/ |
cras_input_node.py | 7 def __init__(self, node_id, node_name, gain, node_type, device_id, 9 self.node_id = node_id 18 'Gain: %d' % (self.node_id, self.node_name, self.device_id,
|
cras_output_node.py | 7 def __init__(self, node_id, node_type, node_name, volume, device_id, 9 self.node_id = node_id 18 'Volume: %d' % (self.node_id, self.node_name, self.device_id,
|
/external/adhd/cras/src/server/ |
cras_observer.h | 76 cras_node_id_t node_id); 79 void cras_observer_notify_output_node_volume(cras_node_id_t node_id, 83 void cras_observer_notify_node_left_right_swapped(cras_node_id_t node_id, 87 void cras_observer_notify_input_node_gain(cras_node_id_t node_id,
|
cras_iodev_list.h | 118 char *cras_iodev_list_get_hotword_models(cras_node_id_t node_id); 147 * node_id - the id of the ionode to be selected. As a special case, if 148 * node_id is 0, don't select any node in this direction. 151 cras_node_id_t node_id); 167 * node_id - The id of the ionode to be added. 170 cras_node_id_t node_id); 175 * node_id - The id of the ionode to be removed. 178 cras_node_id_t node_id);
|
/hardware/qcom/display/msm8084/libqdutils/ |
qd_utils.cpp | 73 int node_id = getHDMINode(); local 75 if (node_id < 0) { 81 "/sys/class/graphics/fb%d/edid_raw_data", node_id);
|
/external/adhd/cras/src/tests/ |
cras_monitor.c | 68 cras_node_id_t node_id) 70 uint32_t dev_index = dev_index_of(node_id); 71 uint32_t node_index = node_index_of(node_id); 84 cras_node_id_t node_id) 90 uint32_t iodev_idx = dev_index_of(node_id); 95 if (node_id == 0) { 101 string_for_direction(dir), node_id); 117 iodev_idx, node_index_of(node_id)); 120 node_index = node_array_index_of_node_id(nodes, num_nodes, node_id); 134 cras_node_id_t node_id) [all...] |
observer_unittest.cc | 141 * When there is no active node, node_id is 0. */ 144 cras_node_id_t node_id) { 148 cb_active_node_changed_node_id.push_back(node_id); 153 cras_node_id_t node_id, 157 cb_output_node_volume_changed_node_id.push_back(node_id); 163 cras_node_id_t node_id, 167 cb_node_left_right_swapped_changed_node_id.push_back(node_id); 173 cras_node_id_t node_id, 177 cb_input_node_gain_changed_node_id.push_back(node_id); 417 const cras_node_id_t node_id = 0x0001000100020002 local 442 const cras_node_id_t node_id = 0x0001000100020002; local 469 const cras_node_id_t node_id = 0x0001000100020002; local 496 const cras_node_id_t node_id = 0x0001000100020002; local [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/xilinx/zynqmp/pm_service/ |
pm_common.h | 36 * @node_id node-ID of the processor 42 const enum pm_node_id node_id; member in struct:pm_proc
|
/external/autotest/client/cros/audio/ |
cras_utils.py | 146 def set_node_volume(node_id, volume): 149 @param node_id: the id of the output node to be set the volume. 153 get_cras_control_interface().SetOutputNodeVolume(node_id, volume) 225 for node_id in selected_output_node_ids: 226 set_node_volume(node_id, volume) 479 def set_active_input_node(node_id): 482 @param node_id: node id. 485 get_cras_control_interface().SetActiveInputNode(node_id) 488 def set_active_output_node(node_id): 491 @param node_id: node id [all...] |
/external/ltp/testcases/kernel/syscalls/getcpu/ |
getcpu01.c | 96 unsigned int cpu_id, node_id = 0; local 127 TEST(getcpu(&cpu_id, &node_id, NULL)); 136 else if (node_id != node_set) { 139 node_set, node_id); 146 node_id); 162 static inline int getcpu(unsigned *cpu_id, unsigned *node_id, 166 return syscall(318, cpu_id, node_id, cache_struct); 268 int node_id = 0; local 290 node_id = 299 return node_id; [all...] |
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/trees/ |
decision_tree.cc | 33 int32 node_id = sub_root_id; local 35 const auto& current_node = config.nodes(node_id); 38 return node_id; 42 node_id = example.dense_float_features[split.feature_column()] <= 57 node_id = !sparse_feature[dimension_id].has_value() || 72 node_id = sparse_feature[dimension_id].has_value() && 83 node_id = features.find(split.feature_id()) != features.end() 91 // The new node_id = left_id if a feature is found, or right_id. 92 node_id = split.right_id(); 97 node_id = split.left_id() [all...] |
/external/adhd/cras/src/libcras/ |
cras_client.h | 383 * node_id - The node id to look for. 390 const cras_node_id_t node_id, 418 * node_id - The id of the ionode. 425 cras_node_id_t node_id, 434 * node_id - The id of the ionode. If node_id is the special value 0, then 439 cras_node_id_t node_id); 446 * node_id - The id of the ionode. If there's no node matching given 451 cras_node_id_t node_id); 458 * node_id - The id of the ionode. If there's no node matching give [all...] |
/external/v8/tools/turbolizer/ |
schedule-view.js | 38 node_id: Number(matches[0]), 47 view.select(function(location) { return location.node_id == id; }, true, true); 55 node_id: GOTO_STYLE.goto_id--, 113 locations.push({ node_id : id }); 122 if (i.location.node_id != undefined && i.location.node_id > 0) { 123 s.add(i.location.node_id);
|
/external/tensorflow/tensorflow/contrib/hvx/hexagon_controller/src_soc_interface/ |
soc_interface.c | 181 int input_count, const int* const node_id, const int* const port) { 188 s_node_inputs_array[index].src_id = node_id[i]; 212 bool soc_interface_AppendConstNode(const char* const name, int node_id, 217 name, graph_id, node_id, batch, height, width, depth, data, data_length); 219 TFMLOGE("Failed to append const node %d", node_id); 226 bool soc_interface_AppendNode(const char* const name, int node_id, int ops_id, 232 name, graph_id, node_id, ops_id, padding_id, (hexagon_nn_input*)inputs, 235 TFMLOGE("Failed to append const node %d", node_id);
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
gpu_stream_util.cc | 55 const int node_id = n->id(); local 56 VLOG(2) << "Node " << node_id << " " << n->type_string() << " " 79 const int node_id = n->id(); local 102 (*node_to_stream_id)[node_id] = stream_id % opts.max_streams;
|
/device/linaro/bootloader/arm-trusted-firmware/drivers/arm/ccn/ |
ccn.c | 118 unsigned int mn_reg_off, node_id; local 128 FOR_EACH_PRESENT_NODE_ID(node_id, rn_bitmap) { 141 ccn_get_rni_mcount(periphbase, node_id)); 155 info->node_desc[node_id] = node_mcount; 195 unsigned int node_id; local 197 node_id = plat_desc->master_to_rn_id_map[master_id]; 198 assert(node_id < MAX_RN_NODES); 199 assert(info.node_desc[node_id]); 200 info.node_desc[node_id]--; 227 unsigned int node_id, iface_id local [all...] |
/external/tensorflow/tensorflow/contrib/hvx/hexagon_controller/src_soc_interface/include/ |
soc_interface.h | 82 void* soc_interface_SetOneNodeInputs(int input_count, const int* const node_id, 89 bool soc_interface_AppendConstNode(const char* const name, int node_id, 94 bool soc_interface_AppendNode(const char* const name, int node_id, int op_id,
|