Home
last modified time | relevance | path

Searched refs:is_control (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/
Dutils.h52 bool is_control = absl::StartsWith(input_name, "^"); in NodePositionIfSameNode() local
53 if (is_control) input_name.remove_prefix(1); in NodePositionIfSameNode()
60 if (is_control) return -1; in NodePositionIfSameNode()
67 const bool is_control = absl::StartsWith(name, "^"); in ParseNodeNameAsStringPiece() local
70 *position = is_control ? -1 : id.second; in ParseNodeNameAsStringPiece()
72 if (is_control && id.second >= 0) { in ParseNodeNameAsStringPiece()
Dmutable_graph_view.cc1595 bool is_control = IsTensorIdControlling(tensor_id); in RemoveFaninsInternal() local
1596 if (keep_controlling_fanins && is_control) { in RemoveFaninsInternal()
1603 input.port_id = is_control ? Graph::kControlSlot : i; in RemoveFaninsInternal()
/external/tensorflow/tensorflow/core/grappler/utils/
Dgrappler_test.cc55 const auto is_control = [](const string& input) -> bool { in CompareGraphNodes() local
61 std::sort(absl::c_find_if(*want_inputs, is_control), want_inputs->end()); in CompareGraphNodes()
62 std::sort(absl::c_find_if(*got_inputs, is_control), got_inputs->end()); in CompareGraphNodes()
Dgraph_view.cc132 bool is_control = IsTensorIdControl(fanin_id); in CheckAndAddFaninsInternal() local
133 if (!is_control && has_observed_control) { in CheckAndAddFaninsInternal()
146 if (is_control) { in CheckAndAddFaninsInternal()
240 bool is_control = IsTensorIdControl(fanin_id); in AddNode() local
241 if (is_control) { in AddNode()
519 bool is_control = IsTensorIdControl(fanin_id); in CheckFaninsInternal() local
520 if (!is_control && has_observed_control) { in CheckFaninsInternal()
530 if (is_control) { in CheckFaninsInternal()
555 bool is_control = IsTensorIdControl(fanin_id); in AddFaninsInternal() local
559 if (is_control) { in AddFaninsInternal()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/segment/
Dsegment.cc58 int dst_port, bool is_control = false) in SimpleEdge() argument
64 control_(is_control) {} in SimpleEdge()
175 bool is_control = e->IsControlEdge(); in SimpleGraph() local
179 is_control); in SimpleGraph()
199 bool is_control = (out_port == Graph::kControlSlot); in AddEdge() local
200 is_control |= (in_port == Graph::kControlSlot); in AddEdge()
201 auto edge = new SimpleEdge(i, src, out_port, dst, in_port, is_control); in AddEdge()
/external/rust/crates/regex-syntax/src/hir/
Dprint.rs222 if c <= 0x7F as char && !c.is_control() && !c.is_whitespace() {
231 if c <= 0x7F as char && !c.is_control() && !c.is_whitespace() {
Dmod.rs976 let start = if !self.start.is_whitespace() && !self.start.is_control() in fmt()
982 let end = if !self.end.is_whitespace() && !self.end.is_control() { in fmt()
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_data.py1068 def node_inputs(self, node_name, is_control=False, device_name=None): argument
1090 if is_control:
1231 def node_recipients(self, node_name, is_control=False, device_name=None): argument
1255 if is_control:
Dsession_debug_testlib.py815 self.assertEqual([], dump.node_inputs(u_name, is_control=True))
816 self.assertEqual([], dump.node_inputs(u_read_name, is_control=True))
817 self.assertEqual([], dump.node_inputs(v_name, is_control=True))
818 self.assertEqual([], dump.node_inputs(w_name, is_control=True))
825 self.assertEqual([], dump.node_recipients(u_name, is_control=True))
826 self.assertEqual([], dump.node_recipients(u_read_name, is_control=True))
827 self.assertEqual([], dump.node_recipients(v_name, is_control=True))
828 self.assertEqual([], dump.node_recipients(w_name, is_control=True))
/external/tensorflow/tensorflow/python/debug/cli/
Danalyzer_cli.py801 self._debug_dump.node_inputs(node_name, is_control=True))
808 self._debug_dump.node_recipients(node_name, is_control=True))
1406 copy.copy(tracker(node_name, is_control=False)))
1412 sorted(tracker(node_name, is_control=True)))
/external/tensorflow/tensorflow/core/summary/
Dsummary_db_writer.cc266 int64 is_control = 0; in SaveNodeInputs() local
277 is_control = 1; in SaveNodeInputs()
289 insert.BindInt(6, is_control); in SaveNodeInputs()