/external/tensorflow/tensorflow/python/debug/cli/ |
D | evaluator_test.py | 31 device_name, node_name, output_slot, debug_op, exec_index = ( 34 self.assertEqual("foo", node_name) 39 device_name, node_name, output_slot, debug_op, exec_index = ( 42 self.assertEqual("hidden_0/Weights", node_name) 48 device_name, node_name, output_slot, debug_op, exec_index = ( 51 self.assertEqual("foo", node_name) 56 device_name, node_name, output_slot, debug_op, exec_index = ( 60 self.assertEqual("hidden_0/Weights", node_name) 66 device_name, node_name, output_slot, debug_op, exec_index = ( 70 self.assertEqual("foo", node_name) [all …]
|
D | analyzer_cli_test.py | 90 node_name = line.strip().split(" ")[1] 92 return op_type, node_name 261 node_name, argument 298 tst.assertEqual("Node %s" % node_name, next(line_iter)) 310 for op_type, node_name in input_op_type_node_name_pairs: 311 tst.assertEqual(" [%s] %s" % (op_type, node_name), next(line_iter)) 319 for op_type, node_name in ctrl_input_op_type_node_name_pairs: 320 tst.assertEqual(" [%s] %s" % (op_type, node_name), next(line_iter)) 337 op_type, node_name = parse_op_and_node(line) 338 t_recs.append((op_type, node_name)) [all …]
|
D | analyzer_cli.py | 64 node_name=None, argument 92 if node_name: 96 "node_info -a -d -t %s" % node_name, 101 "print_tensor %s" % node_name, 106 "list_inputs -c -r %s" % node_name, 111 "list_outputs -c -r %s" % node_name, 533 _add_main_menu(output, node_name=None, enable_list_tensors=False) 562 if node_name_regex and not node_name_regex.match(dump.node_name): 566 op_type = self._debug_dump.node_op_type(dump.node_name) 572 dumped_tensor_name = "%s:%d" % (dump.node_name, dump.output_slot) [all …]
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | lstm_layer_inference.config.pbtxt | 2 feed{ id{node_name:"inputs/x_seq_0/read"} shape{dim{size:128}dim{size:1024}} } 3 feed{ id{node_name:"inputs/x_seq_1/read"} shape{dim{size:128}dim{size:1024}} } 4 feed{ id{node_name:"inputs/x_seq_2/read"} shape{dim{size:128}dim{size:1024}} } 5 feed{ id{node_name:"inputs/x_seq_3/read"} shape{dim{size:128}dim{size:1024}} } 6 feed{ id{node_name:"inputs/x_seq_4/read"} shape{dim{size:128}dim{size:1024}} } 7 feed{ id{node_name:"inputs/pad_seq_0/read"} shape{dim{size:128}dim{size:1}} } 8 feed{ id{node_name:"inputs/pad_seq_1/read"} shape{dim{size:128}dim{size:1}} } 9 feed{ id{node_name:"inputs/pad_seq_2/read"} shape{dim{size:128}dim{size:1}} } 10 feed{ id{node_name:"inputs/pad_seq_3/read"} shape{dim{size:128}dim{size:1}} } 11 feed{ id{node_name:"inputs/pad_seq_4/read"} shape{dim{size:128}dim{size:1}} } [all …]
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | debug_data.py | 171 def _get_tensor_name(node_name, output_slot): argument 182 return "%s:%d" % (node_name, output_slot) 185 def _get_tensor_watch_key(node_name, output_slot, debug_op): argument 199 return "%s:%s" % (_get_tensor_name(node_name, output_slot), debug_op) 335 self.node_name, 398 def node_name(self): member in DebugTensorDatum 425 return _get_tensor_name(self.node_name, self.output_slot) 435 return _get_tensor_watch_key(self.node_name, self.output_slot, 566 self._debug_watches[device_name][datum.node_name][ 812 for node_name in debug_graph.node_devices: [all …]
|
D | debug_graphs.py | 43 node_name = name[:name.rfind(":")] 46 return node_name, output_slot 52 node_name, _ = parse_node_or_tensor_name(element_name) 53 return node_name 72 def is_copy_node(node_name): argument 85 return node_name.startswith("__copy_") 88 def is_debug_node(node_name): argument 100 return node_name.startswith("__dbg_") 103 def parse_debug_node_name(node_name): argument 120 name = node_name [all …]
|
D | debug_utils.py | 27 node_name, argument 67 watch.node_name = node_name 154 node_name = op.name 157 if node_name_pattern and not node_name_pattern.match(node_name): 169 node_name, 247 node_name = op.name 250 if node_name_pattern and node_name_pattern.match(node_name): 262 node_name,
|
/external/dynamic_depth/internal/dynamic_depth/ |
D | const.cc | 80 const std::string DynamicDepthConst::Namespace(const std::string& node_name) { in Namespace() argument 81 if (node_name == kPose) { in Namespace() 89 if (node_name == kImagingModel || node_name == kImage || in Namespace() 90 node_name == kDepthMap || node_name == kPointCloud || in Namespace() 91 node_name == kLightEstimate) { in Namespace() 95 if (node_name == kItem) { in Namespace() 99 if (node_name == kCamera || node_name == kEarthPose || in Namespace() 100 node_name == kProfile || node_name == kPlane) { in Namespace() 105 if (node_name == kCameras || node_name == kContainer || in Namespace() 106 node_name == kPlanes || node_name == kProfiles) { in Namespace()
|
/external/tensorflow/tensorflow/core/grappler/ |
D | utils.cc | 79 const string& node_name = node->name(); in NodeMap() local 80 auto rslt = nodes_.emplace(node_name, node); in NodeMap() 83 LOG(WARNING) << "Duplicated node in the graph: " << node_name; in NodeMap() 86 outputs_[NodeName(input)].insert(nodes_[node_name]); in NodeMap() 97 const string node_name = NodeName(name); in GetNode() local 98 auto it = nodes_.find(node_name); in GetNode() 106 const string node_name = NodeName(name); in NodeExists() local 107 return nodes_.find(node_name) != nodes_.end(); in NodeExists() 110 const std::set<NodeDef*>& NodeMap::GetOutputs(const string& node_name) const { in GetOutputs() 111 auto it = outputs_.find(node_name); in GetOutputs() [all …]
|
D | mutable_graph_view.h | 83 Status UpdateNode(absl::string_view node_name, absl::string_view op, 141 Status AddRegularFanin(absl::string_view node_name, const TensorId& fanin); 151 Status AddRegularFaninByPort(absl::string_view node_name, int port, 175 Status AddControllingFanin(absl::string_view node_name, 185 Status RemoveRegularFanin(absl::string_view node_name, const TensorId& fanin); 194 Status RemoveRegularFaninByPort(absl::string_view node_name, int port); 202 Status RemoveControllingFanin(absl::string_view node_name, 210 Status RemoveAllFanins(absl::string_view node_name, 219 Status UpdateFanin(absl::string_view node_name, const TensorId& from_fanin, 229 Status UpdateRegularFaninByPort(absl::string_view node_name, int port, [all …]
|
D | mutable_graph_view.cc | 282 Status CheckAddingFaninToSelf(absl::string_view node_name, in CheckAddingFaninToSelf() argument 284 if (node_name == fanin.node()) { in CheckAddingFaninToSelf() 291 Status CheckRemovingFaninFromSelf(absl::string_view node_name, in CheckRemovingFaninFromSelf() argument 293 if (node_name == fanin.node()) { in CheckRemovingFaninFromSelf() 300 string NodeMissingErrorMsg(absl::string_view node_name) { in NodeMissingErrorMsg() argument 301 return absl::Substitute("node '$0' was not found", node_name); in NodeMissingErrorMsg() 304 Status CheckNodeExists(absl::string_view node_name, NodeDef* node, in CheckNodeExists() argument 307 return handler(NodeMissingErrorMsg(node_name)); in CheckNodeExists() 323 string SwapNodeNamesSwitchControlErrorMsg(absl::string_view node_name) { in SwapNodeNamesSwitchControlErrorMsg() argument 326 node_name); in SwapNodeNamesSwitchControlErrorMsg() [all …]
|
D | utils.h | 50 const std::set<NodeDef*>& GetOutputs(const string& node_name) const; 55 void UpdateInput(const string& node_name, const string& old_input_name, 57 void AddOutput(const string& node_name, const string& output_name); 58 void RemoveInputs(const string& node_name); 59 void RemoveOutput(const string& node_name, const string& output_name); 60 void RemoveOutputs(const string& node_name); 61 void UpdateOutput(const string& node_name, const string& old_output_name, 124 const string& node_name) { in NodePositionIfSameNode() argument 128 auto node_it = node_name.begin(); in NodePositionIfSameNode() 129 if (node_name.empty() || in NodePositionIfSameNode() [all …]
|
/external/ltp/testcases/kernel/syscalls/mknod/ |
D | mknod05.c | 96 char node_name[PATH_MAX]; /* buffer to hold node name created */ variable 125 TEST(mknod(node_name, MODE_SGID, 0)); in main() 130 "%s", node_name, MODE_SGID, TEST_ERRNO, in main() 138 if (stat(node_name, &buf) < 0) { in main() 140 node_name, TEST_ERRNO); in main() 148 "setgid bit not set", node_name); in main() 156 node_name); in main() 163 node_name, MODE_SGID); in main() 167 if (unlink(node_name) == -1) { in main() 169 node_name, errno, strerror(errno)); in main() [all …]
|
D | mknod08.c | 95 char node_name[PATH_MAX]; /* buffer to hold node name created */ variable 121 TEST(mknod(node_name, MODE_RWX, 0)); in main() 127 node_name, MODE_RWX, TEST_ERRNO, in main() 135 if (stat(node_name, &buf) < 0) { in main() 138 node_name, TEST_ERRNO); in main() 146 "bit set", node_name); in main() 154 node_name); in main() 161 node_name, MODE_RWX); in main() 165 if (unlink(node_name) == -1) { in main() 168 node_name, errno, strerror(errno)); in main() [all …]
|
D | mknod02.c | 96 char node_name[PATH_MAX]; /* buffer to hold node name created */ variable 125 TEST(mknod(node_name, MODE_SGID, 0)); in main() 131 node_name, MODE_SGID, TEST_ERRNO, in main() 139 if (stat(node_name, &buf) < 0) { in main() 141 node_name, TEST_ERRNO); in main() 150 "bit not set", node_name); in main() 158 node_name); in main() 165 node_name, MODE_SGID); in main() 169 if (unlink(node_name) == -1) { in main() 171 node_name, errno, strerror(errno)); in main() [all …]
|
D | mknod04.c | 96 char node_name[PATH_MAX]; /* buffer to hold node name created */ variable 126 TEST(mknod(node_name, MODE_RWX, 0)); in main() 131 "%s", node_name, MODE_RWX, TEST_ERRNO, in main() 139 if (stat(node_name, &buf) < 0) { in main() 141 node_name, TEST_ERRNO); in main() 149 "bit set", node_name); in main() 157 node_name); in main() 164 node_name, MODE_RWX); in main() 168 if (unlink(node_name) == -1) { in main() 170 node_name, errno, strerror(errno)); in main() [all …]
|
D | mknod03.c | 96 char node_name[PATH_MAX]; /* buffer to hold node name created */ variable 125 TEST(mknod(node_name, MODE_SGID, 0)); in main() 130 "%s", node_name, MODE_SGID, TEST_ERRNO, in main() 138 if (stat(node_name, &buf) < 0) { in main() 140 node_name, TEST_ERRNO); in main() 154 node_name); in main() 161 node_name, MODE_SGID); in main() 165 if (unlink(node_name) == -1) { in main() 167 node_name, errno, strerror(errno)); in main() 217 sprintf(node_name, TNODE, mypid); in setup()
|
/external/skqp/modules/skottie/src/ |
D | SkottieTest.cpp | 76 SkString node_name; in DEF_TEST() member 81 SkString node_name; in DEF_TEST() member 86 SkString node_name; in DEF_TEST() member 90 void onColorProperty(const char node_name[], in DEF_TEST() argument 92 fColors.push_back({SkString(node_name), lh()->get()}); in DEF_TEST() 95 void onOpacityProperty(const char node_name[], in DEF_TEST() argument 97 fOpacities.push_back({SkString(node_name), lh()->get()}); in DEF_TEST() 100 void onTransformProperty(const char node_name[], in DEF_TEST() argument 102 fTransforms.push_back({SkString(node_name), lh()->get()}); in DEF_TEST() 126 REPORTER_ASSERT(reporter, colors[0].node_name.equals("fill_0")); in DEF_TEST() [all …]
|
/external/skia/modules/skottie/src/ |
D | SkottieTest.cpp | 76 SkString node_name; in DEF_TEST() member 81 SkString node_name; in DEF_TEST() member 86 SkString node_name; in DEF_TEST() member 90 void onColorProperty(const char node_name[], in DEF_TEST() argument 92 fColors.push_back({SkString(node_name), lh()->get()}); in DEF_TEST() 95 void onOpacityProperty(const char node_name[], in DEF_TEST() argument 97 fOpacities.push_back({SkString(node_name), lh()->get()}); in DEF_TEST() 100 void onTransformProperty(const char node_name[], in DEF_TEST() argument 102 fTransforms.push_back({SkString(node_name), lh()->get()}); in DEF_TEST() 126 REPORTER_ASSERT(reporter, colors[0].node_name.equals("fill_0")); in DEF_TEST() [all …]
|
/external/u-boot/tools/ |
D | image-host.c | 63 const char *node_name; in fit_image_process_hash() local 68 node_name = fit_get_name(fit, noffset, NULL); in fit_image_process_hash() 72 node_name, image_name); in fit_image_process_hash() 78 algo, node_name, image_name); in fit_image_process_hash() 85 node_name, image_name); in fit_image_process_hash() 153 const char *node_name; in fit_image_setup_sig() local 156 node_name = fit_get_name(fit, noffset, NULL); in fit_image_setup_sig() 159 node_name, image_name); in fit_image_setup_sig() 175 algo_name, node_name, image_name); in fit_image_setup_sig() 207 const char *node_name; in fit_image_process_sig() local [all …]
|
/external/dtc/ |
D | fdtput.c | 167 static int store_key_value(char **blob, const char *node_name, in store_key_value() argument 173 node = fdt_path_offset(*blob, node_name); in store_key_value() 175 report_error(node_name, -1, node); in store_key_value() 244 static int create_node(char **blob, const char *node_name) in create_node() argument 249 p = strrchr(node_name, '/'); in create_node() 251 report_error(node_name, -1, -FDT_ERR_BADPATH); in create_node() 258 if (p > node_name) { in create_node() 259 node = fdt_path_offset(*blob, node_name); in create_node() 261 report_error(node_name, -1, node); in create_node() 283 static int delete_prop(char *blob, const char *node_name, const char *prop_name) in delete_prop() argument [all …]
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | graph_optimizer_stage.cc | 22 const NodeScopeAndName ParseNodeScopeAndName(const string& node_name) { in ParseNodeScopeAndName() argument 23 auto pos = node_name.find_last_of("/"); in ParseNodeScopeAndName() 25 return {"", node_name}; in ParseNodeScopeAndName() 27 return {node_name.substr(0, pos), node_name.substr(pos + 1)}; in ParseNodeScopeAndName() 33 string node_name = NodeName(input); in GetInputNode() local 34 NodeDef* node_by_name = ctx.node_map->GetNode(node_name); in GetInputNode() 36 return errors::FailedPrecondition("Node ", node_name, in GetInputNode() 119 for (const string& node_name : node_names) { in MakeOptimizedNodeName() local 120 auto name_and_scope = ParseNodeScopeAndName(node_name); in MakeOptimizedNodeName()
|
/external/u-boot/arch/arm/mach-socfpga/ |
D | pinmux_arria10.c | 11 static int do_pinctr_pin(const void *blob, int child, const char *node_name) in do_pinctr_pin() argument 40 const char *node_name; in do_pinctrl_pins() local 47 node_name = fdt_get_name(blob, child, &len); in do_pinctrl_pins() 49 while (node_name) { in do_pinctrl_pins() 50 if (!strcmp(child_name, node_name)) in do_pinctrl_pins() 51 return do_pinctr_pin(blob, child, node_name); in do_pinctrl_pins() 58 node_name = fdt_get_name(blob, child, &len); in do_pinctrl_pins()
|
/external/adhd/cras/src/tests/ |
D | cras_monitor.c | 137 const char *node_name = node_name_for_node_id(client, dir, node_id); in active_node_changed() local 138 printf("active node (%s): %s\n", string_for_direction(dir), node_name); in active_node_changed() 139 free((void *)node_name); in active_node_changed() 146 const char *node_name = in output_node_volume_changed() local 148 printf("output node '%s' volume: %d\n", node_name, volume); in output_node_volume_changed() 149 free((void *)node_name); in output_node_volume_changed() 156 const char *node_name = in node_left_right_swapped_changed() local 158 printf("output node '%s' left-right swapped: %d\n", node_name, swapped); in node_left_right_swapped_changed() 159 free((void *)node_name); in node_left_right_swapped_changed() 166 const char *node_name = in input_node_gain_changed() local [all …]
|
/external/tensorflow/tensorflow/core/debug/ |
D | debug_node_key.cc | 26 DebugNodeKey::DebugNodeKey(const string& device_name, const string& node_name, in DebugNodeKey() argument 29 node_name(node_name), in DebugNodeKey() 33 strings::StrCat(node_name, ":", output_slot, ":", debug_op)), in DebugNodeKey() 37 return (device_name == other.device_name && node_name == other.node_name && in operator ==()
|