Searched refs:node_id (Results 1 - 25 of 83) sorted by relevance

1234

/external/autotest/client/common_lib/cros/cfm/
H A Dcras_input_node.py7 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,
H A Dcras_output_node.py7 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/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/
H A Dfertile-stats-resource.cc24 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) { argument
44 collection_op_->InitializeSlot(node_id, depth);
59 bool FertileStatsResource::BestSplit(int32 node_id, SplitCandidate* best, argument
61 return collection_op_->BestSplit(node_id, bes
22 AddExampleToStatsAndInitialize( const std::unique_ptr<TensorDataSet>& input_data, const InputTarget* target, const std::vector<int>& examples, int32 node_id, bool* is_finished) argument
[all...]
H A Dsplit_collection_operators.cc44 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) { argument
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)
43 CreateGrowStats( int32 node_id, int32 depth) const argument
139 BestSplit(int32 node_id, SplitCandidate* best, int32* depth) const argument
[all...]
H A Dgraph_collection_operator.cc28 int32 node_id, int32 depth) const {
32 int64 GraphRunnerSplitCollectionOperator::UniqueId(int32 node_id, argument
34 return node_id * num_splits_to_consider_ + split_id;
37 bool GraphRunnerSplitCollectionOperator::BestSplit(int32 node_id, argument
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,
27 CreateGrowStats( int32 node_id, int32 depth) const argument
134 ClearSlot(int32 node_id) argument
[all...]
H A Dfertile-stats-resource.h54 void ResetSplitStats(int32 node_id, int32 depth) { argument
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);
H A Dgraph_collection_operator.h48 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;
H A Dsplit_collection_operators.h41 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); } argument
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 ha
[all...]
/external/adhd/cras/src/common/
H A Dcras_observer_ops.h29 * 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,
H A Dcras_messages.h225 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)
229 cras_fill_set_node_attr( struct cras_set_node_attr *m, cras_node_id_t node_id, enum ionode_attr attr, int value) argument
248 cras_fill_select_node( struct cras_select_node *m, enum CRAS_STREAM_DIRECTION direction, cras_node_id_t node_id) argument
265 cras_fill_add_active_node( struct cras_add_active_node *m, enum CRAS_STREAM_DIRECTION direction, cras_node_id_t node_id) argument
280 cras_node_id_t node_id; member in struct:cras_rm_active_node
282 cras_fill_rm_active_node( struct cras_rm_active_node *m, enum CRAS_STREAM_DIRECTION direction, cras_node_id_t node_id) argument
394 cras_node_id_t node_id; member in struct:cras_get_hotword_models
397 cras_fill_get_hotword_models_message( struct cras_get_hotword_models *m, cras_node_id_t node_id) argument
409 cras_node_id_t node_id; member in struct:cras_set_hotword_model
413 cras_fill_set_hotword_model_message( struct cras_set_hotword_model *m, cras_node_id_t node_id, const char *model_name) argument
572 cras_node_id_t node_id; member in struct:cras_client_active_node_changed
574 cras_fill_client_active_node_changed( struct cras_client_active_node_changed *m, enum CRAS_STREAM_DIRECTION direction, cras_node_id_t node_id) argument
587 cras_node_id_t node_id; member in struct:cras_client_node_value_changed
590 cras_fill_client_output_node_volume_changed( struct cras_client_node_value_changed *m, cras_node_id_t node_id, int32_t volume) argument
600 cras_fill_client_node_left_right_swapped_changed( struct cras_client_node_value_changed *m, cras_node_id_t node_id, int swapped) argument
610 cras_fill_client_input_node_gain_changed( struct cras_client_node_value_changed *m, cras_node_id_t node_id, int32_t gain) argument
[all...]
/external/adhd/cras/src/server/
H A Dcras_observer.h76 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,
H A Dcras_iodev_list.h118 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);
/external/v8/tools/turbolizer/
H A Dschedule-view.js38 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);
H A Dselection-broker.js54 if (location.node_id != undefined) {
55 newLocation.node_id = location.node_id;
62 newLocation.node_id != undefined) {
63 if (broker.nodePositionMap && broker.nodePositionMap[location.node_id]) {
64 newLocation.pos_start = broker.nodePositionMap[location.node_id];
/external/adhd/cras/src/tests/
H A Dcras_monitor.c68 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)
66 node_array_index_of_node_id(struct cras_ionode_info *nodes, size_t num_nodes, cras_node_id_t node_id) argument
82 node_name_for_node_id(struct cras_client *client, enum CRAS_STREAM_DIRECTION dir, cras_node_id_t node_id) argument
132 active_node_changed(void *context, enum CRAS_STREAM_DIRECTION dir, cras_node_id_t node_id) argument
142 output_node_volume_changed(void *context, cras_node_id_t node_id, int32_t volume) argument
152 node_left_right_swapped_changed(void *context, cras_node_id_t node_id, int swapped) argument
162 input_node_gain_changed(void *context, cras_node_id_t node_id, int32_t gain) argument
[all...]
H A Dobserver_unittest.cc141 * 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 local
142 cb_active_node_changed(void *context, enum CRAS_STREAM_DIRECTION dir, cras_node_id_t node_id) argument
152 cb_output_node_volume_changed(void *context, cras_node_id_t node_id, int32_t volume) argument
162 cb_node_left_right_swapped_changed(void *context, cras_node_id_t node_id, int swapped) argument
172 cb_input_node_gain_changed(void *context, cras_node_id_t node_id, int32_t gain) argument
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...]
H A Daudio_test_gui.py72 for name, node_id in input_plugged_nodes.items():
74 line += node_id + '">' +name + '<br>\n'
85 for name, node_id in output_plugged_nodes.items():
87 line = line + node_id + '">' +name + '<br>\n'
/external/autotest/client/cros/audio/
H A Dcras_utils.py146 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
[all...]
/external/ltp/testcases/kernel/syscalls/getcpu/
H A Dgetcpu01.c96 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, argument
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/
H A Ddecision_tree.cc33 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
[all...]
/external/autotest/server/site_tests/enterprise_CFM_DualSpeaker/
H A Denterprise_CFM_DualSpeaker.py90 def _get_cras_speaker_volume(self, node_id):
94 @param node_id: the node ID to query.
98 if node.node_id == node_id:
101 def _get_mixer_mute_state(self, node_id):
105 @param node_id: the node to query.
110 " | awk -v N=6 '{print $N}'" % node_id)
137 cras_volume = self._get_cras_speaker_volume(node.node_id)
157 for node_id in nodes:
158 amixer_mute = self._get_mixer_mute_state(node_id)
[all...]
/external/adhd/cras/src/libcras/
H A Dcras_client.h383 * 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
[all...]
/external/autotest/client/cros/multimedia/
H A Daudio_extension_handler.py232 def set_active_node_id(self, node_id):
238 @param node_id: Node id obtained from cras_utils.get_cras_nodes.
250 if node['id'] == str(node_id):
255 logging.error('Node %s not found.', node_id)
259 logging.debug('Node %s is already active.', node_id)
262 logging.debug('Setting active id to %s', node_id)
274 % (stream_type, node_id))
/external/tensorflow/tensorflow/contrib/hvx/hexagon_controller/src_soc_interface/
H A Dsoc_interface.c181 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, argument
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, argument
232 name, graph_id, node_id, ops_id, padding_id, (hexagon_nn_input*)inputs,
235 TFMLOGE("Failed to append const node %d", node_id);
180 soc_interface_SetOneNodeInputs( int input_count, const int* const node_id, const int* const port) argument
/external/tensorflow/tensorflow/core/common_runtime/gpu/
H A Dgpu_stream_util.cc55 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;

Completed in 1688 milliseconds

1234