/external/tensorflow/tensorflow/lite/delegates/xnnpack/ |
D | xnnpack_delegate.cc | 145 const int node_index = params->nodes_to_replace->data[i]; in Create() local 149 if (context->GetNodeAndRegistration(context, node_index, &node, in Create() 164 if (delegate->static_unpack_nodes_.count(node_index) != 0) { in Create() 256 const int node_index = params->nodes_to_replace->data[i]; in Create() local 257 if (delegate->static_unpack_nodes_.count(node_index)) { in Create() 265 if (context->GetNodeAndRegistration(context, node_index, &node, in Create() 270 if (VisitNode(subgraph.get(), context, registration, node, node_index, in Create() 321 int node_index) { in CalculatePadding() argument 333 static_cast<int>(padding), node_index); in CalculatePadding() 339 TfLiteContext* context, int node_index, TfLiteFusedActivation activation, in ConvertActivationToOutputRange() argument [all …]
|
/external/tensorflow/tensorflow/lite/ |
D | graph_info.cc | 46 for (auto node_index : TfLiteIntArrayView(nodes_to_partition)) { in PartitionGraphIntoIndependentNodeSubsetsImpl() local 47 node_type_[node_index] = NodeSubset::kTfPartition; in PartitionGraphIntoIndependentNodeSubsetsImpl() 61 for (int node_index = 0; node_index < info_->num_execution_nodes(); in Partition() local 62 node_index++) { in Partition() 63 const TfLiteNode& node = info_->node(node_index); in Partition() 121 bool UpdateNode(int node_index) { in UpdateNode() argument 122 const TfLiteNode& node = info_->node(node_index); in UpdateNode() 126 if (node_epochs_[node_index] != kEpochNotReady) { in UpdateNode() 138 int original_node_idx = info_->node_index(node_index); in UpdateNode() 149 node_epochs_[node_index] = current_epoch; in UpdateNode() [all …]
|
D | optional_debug_tools.cc | 125 for (size_t node_index = 0; node_index < interpreter->nodes_size(); in PrintInterpreterState() local 126 node_index++) { in PrintInterpreterState() 128 interpreter->node_and_registration(static_cast<int>(node_index)); in PrintInterpreterState() 132 printf("Node %3zu Operator Custom Name %s\n", node_index, in PrintInterpreterState() 135 printf("Node %3zu Operator Builtin Code %3d %s\n", node_index, in PrintInterpreterState()
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | node.py | 108 node_index = len(self.layer._inbound_nodes) - 1 111 layer=layer, node_index=node_index, tensor_index=i) 128 node_index = kt._keras_history.node_index 130 node_deps.append(layer._inbound_nodes[node_index]) 142 node_index = keras_history.node_index 144 yield layer, node_index, tensor_index, kt 176 node_index = kh.node_index 177 node_key = make_node_key(kh.layer.name, node_index) 205 node_index = kh.node_index 206 node_key = make_node_key(kh.layer.name, node_index)
|
D | functional.py | 190 layer, node_index, tensor_index = x._keras_history # pylint: disable=protected-access 192 self._output_coordinates.append((layer, node_index, tensor_index)) 196 layer, node_index, tensor_index = x._keras_history # pylint: disable=protected-access 199 assert node_index == 0 202 self._input_coordinates.append((layer, node_index, tensor_index)) 475 input_layer_key = kh.layer.name + '_%s_%s' % (kh.node_index, 488 node_index = layer._inbound_nodes.index(node) # pylint: disable=protected-access 490 shape_key = layer.name + '_%s_%s' % (node_index, j) 496 layer, node_index, tensor_index = self._output_coordinates[i] 497 shape_key = layer.name + '_%s_%s' % (node_index, tensor_index) [all …]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | subgraph_test_util.cc | 120 int node_index; in BuildAddSubgraph() local 122 params, add_reg, &node_index); in BuildAddSubgraph() 151 int node_index; in BuildMulSubgraph() local 153 params, mul_reg, &node_index); in BuildMulSubgraph() 181 int node_index; in BuildPadSubgraph() local 183 params, pad_reg, &node_index); in BuildPadSubgraph() 216 int node_index; in BuildIfSubgraph() local 218 nullptr, 0, params, if_reg, &node_index); in BuildIfSubgraph() 249 int node_index; in BuildLessEqualCondSubgraph() local 251 0, nullptr, le_reg, &node_index); in BuildLessEqualCondSubgraph() [all …]
|
/external/google-breakpad/src/processor/ |
D | static_map-inl.h | 133 int node_index = 0; in ValidateInMemoryStructure() local 142 if (offsets_[node_index] != static_cast<uint32_t>(first_offset)) { in ValidateInMemoryStructure() 148 for (node_index = 1; node_index < num_nodes_; ++node_index) { in ValidateInMemoryStructure() 150 if (offsets_[node_index] <= offsets_[node_index - 1]) { in ValidateInMemoryStructure() 155 if (compare_(GetKeyAtIndex(node_index), in ValidateInMemoryStructure() 156 GetKeyAtIndex(node_index - 1)) <= 0) { in ValidateInMemoryStructure()
|
/external/tensorflow/tensorflow/lite/core/ |
D | subgraph.cc | 70 int node_index, const char* message) { in ReportOpError() argument 72 context, "Node number %d (%s) %s.\n", node_index, in ReportOpError() 189 int node_index = subgraph_->execution_plan()[index]; in node() local 190 return subgraph_->nodes_and_registration()[node_index].first; in node() 192 size_t node_index(size_t index) const override { in node_index() function in tflite::InterpreterInfo 242 for (int node_index = 0; node_index < nodes_and_registration_.size(); in ~Subgraph() local 243 ++node_index) { in ~Subgraph() 244 CleanupNode(node_index); in ~Subgraph() 258 void Subgraph::CleanupNode(int node_index) { in CleanupNode() argument 259 TfLiteNode& node = nodes_and_registration_[node_index].first; in CleanupNode() [all …]
|
/external/tensorflow/tensorflow/lite/core/api/ |
D | profiler.h | 127 ScopedOperatorProfile(Profiler* profiler, const char* tag, int node_index) in ScopedOperatorProfile() argument 129 static_cast<uint32_t>(node_index)) {} in ScopedOperatorProfile() 135 int node_index) in ScopedDelegateOperatorProfile() argument 138 static_cast<uint32_t>(node_index)) {} in ScopedDelegateOperatorProfile() 175 #define TFLITE_SCOPED_TAGGED_OPERATOR_PROFILE(profiler, tag, node_index) \ argument 177 (profiler), (tag), (node_index)) 179 #define TFLITE_SCOPED_DELEGATE_OPERATOR_PROFILE(profiler, tag, node_index) \ argument 181 _profile_, __COUNTER__)((profiler), (tag), (node_index))
|
/external/tensorflow/tensorflow/core/grappler/utils/ |
D | pattern_utils.cc | 58 node_label_to_index_[pattern.label] = node_view->node_index(); in DoesOpTypePatternMatch() 60 matched_node_indices_.insert(node_view->node_index()); in DoesOpTypePatternMatch() 62 remove_node_indices_.insert(node_view->node_index()); in DoesOpTypePatternMatch() 64 } else if (node_label_to_index_[pattern.label] != node_view->node_index()) { in DoesOpTypePatternMatch() 67 DCHECK(node_label_to_index_[pattern.label] == node_view->node_index()); in DoesOpTypePatternMatch() 83 auto child_node_index = node_view_children[i].node_index(); in DoesOpTypePatternMatch()
|
D | graph_view.h | 48 FaninView(GraphView* graph_view, int node_index, int port_index) in FaninView() argument 49 : NodeIndexAndPortIndex(graph_view, node_index, port_index) {} in FaninView() 65 FanoutView(GraphView* graph_view, int node_index, int port_index) in FanoutView() argument 66 : NodeIndexAndPortIndex(graph_view, node_index, port_index) {} in FanoutView() 82 explicit NodeView(GraphView* graph_view, int node_index) in NodeView() argument 83 : NodeViewInternal(graph_view, node_index) {} in NodeView() 143 MutableFaninView(MutableGraphView* graph_view, int node_index, int port_index) in MutableFaninView() argument 144 : NodeIndexAndPortIndex(graph_view, node_index, port_index) {} in MutableFaninView() 146 explicit MutableFaninView(MutableGraphView* graph_view, int node_index, in MutableFaninView() argument 148 : NodeIndexAndPortIndex(graph_view, node_index, port_index), in MutableFaninView() [all …]
|
D | graph_view_internal.h | 49 NodeIndexAndPortIndex(GraphViewT* graph_view, int node_index, int port_index) in NodeIndexAndPortIndex() argument 51 node_index_(node_index), in NodeIndexAndPortIndex() 73 int node_index() const { return node_index_; } in node_index() function 130 explicit NodeViewInternal(GraphViewT* graph_view, int node_index) in NodeViewInternal() argument 132 node_index_(node_index), in NodeViewInternal() 133 attrs_(AttrSlice(graph_view->graph()->node(node_index))) {} in NodeViewInternal() 156 int node_index() const { return node_index_; } in node_index() function 293 const NodeViewT* GetNode(int node_index) const { in GetNode() argument 295 if (node_index < 0 || node_index >= nodes_size) { in GetNode() 298 return &nodes_[node_index]; in GetNode() [all …]
|
D | graph_view.cc | 111 const int node_index = node_index_by_name_.size(); in AddUniqueNodeInternal() local 112 auto it = node_index_by_name_.emplace(node->name(), node_index); in AddUniqueNodeInternal() 114 nodes_.emplace_back(this, node_index); in AddUniqueNodeInternal() 124 const int node_index = node_view->node_index_; in CheckAndAddFaninsInternal() local 147 fanin_node_view.controlled_fanouts_.emplace_back(this, node_index, in CheckAndAddFaninsInternal() 161 this, node_index, node_view->regular_fanins_.size()); in CheckAndAddFaninsInternal() 285 graph_view_->nodes_[updated_nodes_.back().node_index].update_index_ = in RemoveNode() 430 graph_view_->nodes_[update.node_index].update_index_ = in Reset() 493 const int node_index = node_index_by_name_.size(); in AddUniqueNodeInternal() local 494 auto it = node_index_by_name_.emplace(node->name(), node_index); in AddUniqueNodeInternal() [all …]
|
D | graph_view_internal_test.cc | 66 MutableNodeViewDiff diff(&graph_view, d_node->node_index()); in TEST() 90 MutableNodeViewDiff diff(&graph_view, d_node->node_index()); in TEST() 114 MutableNodeViewDiff diff(&graph_view, d_node->node_index()); in TEST() 138 MutableNodeViewDiff diff(&graph_view, d_node->node_index()); in TEST() 184 MutableNodeViewDiff diff(&graph_view, d_node->node_index()); in TEST() 223 MutableNodeViewDiff diff(&graph_view, d_node->node_index()); in TEST() 307 MutableNodeViewDiff diff(&graph_view, d_node->node_index()); in TEST() 342 MutableNodeViewDiff diff(&graph_view, d_node->node_index()); in TEST() 366 MutableNodeViewDiff diff(&graph_view, d_node->node_index()); in TEST() 398 MutableNodeViewDiff diff(&graph_view, d_node->node_index()); in TEST() [all …]
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_pair_regalloc.c | 518 unsigned int i, input_node, node_count, node_index; in do_advanced_regalloc() local 532 for (var_ptr = variables, node_index = 0; var_ptr; in do_advanced_regalloc() 533 var_ptr = var_ptr->Next, node_index++) { in do_advanced_regalloc() 539 node_classes[node_index] = ra_state->class_ids[class_index]; in do_advanced_regalloc() 572 for (node_index = 0; node_index < node_count; node_index++) { in do_advanced_regalloc() 573 ra_set_node_class(graph, node_index, node_classes[node_index]); in do_advanced_regalloc() 577 for (var_ptr = variables, node_index = 0; var_ptr; in do_advanced_regalloc() 578 var_ptr = var_ptr->Next,node_index++) { in do_advanced_regalloc() 582 for (a = var_ptr, b = var_ptr->Next, b_index = node_index + 1; in do_advanced_regalloc() 590 node_index, b_index); in do_advanced_regalloc() [all …]
|
/external/adhd/cras/src/tools/cras_monitor/ |
D | cras_monitor.c | 65 uint32_t node_index = node_index_of(node_id); in node_array_index_of_node_id() local 70 nodes[i].ionode_idx == node_index) in node_array_index_of_node_id() 85 size_t node_index; in node_name_for_node_id() local 114 node_index = node_array_index_of_node_id(nodes, num_nodes, node_id); in node_name_for_node_id() 115 if (node_index >= num_nodes) in node_name_for_node_id() 116 snprintf(buf, sizeof(buf), "unknown: %zu >= %zu", node_index, in node_name_for_node_id() 120 nodes[node_index].iodev_idx, in node_name_for_node_id() 121 nodes[node_index].ionode_idx, nodes[node_index].name); in node_name_for_node_id()
|
/external/icing/icing/legacy/index/ |
D | icing-dynamic-trie.h | 98 Next(uint8_t val, uint32_t node_index) { in Next() argument 100 used.node_index = node_index; in Next() 106 uint32_t node_index() const { return used.node_index; } in node_index() function 107 void set_node_index(uint32_t node_index) { used.node_index = node_index; } in set_node_index() argument 116 return node_index() < next2.node_index(); 128 uint32_t node_index : 24; member 527 void LeftBranchToLeaf(uint32_t node_index);
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | remapper.cc | 401 bool FindContractionWithBias(const RemapperContext& ctx, int node_index, in IsCpuCompatibleDataType() argument 404 const auto* node_view = ctx.graph_view.GetNode(node_index); in IsCpuCompatibleDataType() 430 const ContractionWithBiasAdd pattern{contraction_node_view->node_index(), in IsCpuCompatibleDataType() 431 node_index}; in IsCpuCompatibleDataType() 442 const RemapperContext& ctx, int node_index, in IsCpuCompatibleDataType() argument 444 const auto* node_view = ctx.graph_view.GetNode(node_index); in IsCpuCompatibleDataType() 459 if (!FindContractionWithBias(ctx, bias_add_node_view->node_index(), &base, in IsCpuCompatibleDataType() 481 base.bias_add, node_index}; in IsCpuCompatibleDataType() 490 bool FindConv2DWithSqueezeAndBias(const RemapperContext& ctx, int node_index, in IsCpuCompatibleDataType() argument 492 const auto* node_view = ctx.graph_view.GetNode(node_index); in IsCpuCompatibleDataType() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/hashtable/ |
D | hashtable_ops_test.cc | 124 int node_index; in BuildDefaultGraph() local 129 hashtable_params.size(), nullptr, hashtable_registration_, &node_index); in BuildDefaultGraph() 134 nullptr, hashtable_import_registration_, &node_index); in BuildDefaultGraph() 140 &node_index); in BuildDefaultGraph() 145 hashtable_size_registration_, &node_index); in BuildDefaultGraph() 151 int node_index; in BuildNoImportGraph() local 156 hashtable_params.size(), nullptr, hashtable_registration_, &node_index); in BuildNoImportGraph() 162 &node_index); in BuildNoImportGraph() 167 hashtable_size_registration_, &node_index); in BuildNoImportGraph() 173 int node_index; in BuildImportTwiceGraph() local [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/ |
D | model_builder_test.cc | 307 context->GetNodeAndRegistration = [](struct TfLiteContext*, int node_index, in TEST() 310 *node = interpreter_fp16_add_op->node(node_index); in TEST() 311 *registration = interpreter_fp16_add_op->registration(node_index); in TEST() 366 context->GetNodeAndRegistration = [](struct TfLiteContext*, int node_index, in TEST() 369 *node = interpreter_fp16_non_constant->node(node_index); in TEST() 370 *registration = interpreter_fp16_non_constant->registration(node_index); in TEST() 429 context->GetNodeAndRegistration = [](struct TfLiteContext*, int node_index, in TEST() 432 *node = interpreter_fp16_gt_op->node(node_index); in TEST() 433 *registration = interpreter_fp16_gt_op->registration(node_index); in TEST() 543 context->GetNodeAndRegistration = [](struct TfLiteContext*, int node_index, in TEST() [all …]
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | layer_utils.py | 33 def get_source_inputs(tensor, layer=None, node_index=None): argument 51 if layer is None or node_index: 52 layer, node_index, _ = tensor._keras_history 56 node = layer._inbound_nodes[node_index] 62 for layer, node_index, _, tensor in node.iterate_inbound(): 63 previous_sources = get_source_inputs(tensor, layer, node_index) 235 for inbound_layer, node_index, tensor_index, _ in node.iterate_inbound(): 236 connections.append('{}[{}][{}]'.format(inbound_layer.name, node_index,
|
/external/tensorflow/tensorflow/lite/profiling/ |
D | profile_summarizer.cc | 30 uint32_t node_index; member 72 uint32_t node_index) { in GetOperatorDetails() argument 75 auto node_reg = subgraph->node_and_registration(node_index); in GetOperatorDetails() 141 const auto node_index = event->event_metadata; in ProcessProfiles() local 144 GetOperatorDetails(interpreter, subgraph_index, node_index); in ProcessProfiles() 154 node_name + ":" + std::to_string(node_index); in ProcessProfiles()
|
/external/arm-trusted-firmware/lib/psci/ |
D | psci_setup.c | 127 unsigned int node_index = 0U, num_children; in populate_power_domain_tree() local 155 for (j = node_index; in populate_power_domain_tree() 156 j < (node_index + num_children); j++) in populate_power_domain_tree() 161 node_index = j; in populate_power_domain_tree() 171 node_index = 0; in populate_power_domain_tree()
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.keras.layers.-re-l-u.pbtxt | 192 argspec: "args=[\'self\', \'node_index\'], varargs=None, keywords=None, defaults=None" 196 argspec: "args=[\'self\', \'node_index\'], varargs=None, keywords=None, defaults=None" 200 argspec: "args=[\'self\', \'node_index\'], varargs=None, keywords=None, defaults=None" 208 argspec: "args=[\'self\', \'node_index\'], varargs=None, keywords=None, defaults=None" 212 argspec: "args=[\'self\', \'node_index\'], varargs=None, keywords=None, defaults=None" 216 argspec: "args=[\'self\', \'node_index\'], varargs=None, keywords=None, defaults=None"
|
D | tensorflow.keras.layers.-masking.pbtxt | 192 argspec: "args=[\'self\', \'node_index\'], varargs=None, keywords=None, defaults=None" 196 argspec: "args=[\'self\', \'node_index\'], varargs=None, keywords=None, defaults=None" 200 argspec: "args=[\'self\', \'node_index\'], varargs=None, keywords=None, defaults=None" 208 argspec: "args=[\'self\', \'node_index\'], varargs=None, keywords=None, defaults=None" 212 argspec: "args=[\'self\', \'node_index\'], varargs=None, keywords=None, defaults=None" 216 argspec: "args=[\'self\', \'node_index\'], varargs=None, keywords=None, defaults=None"
|