Home
last modified time | relevance | path

Searched refs:fanout (Results 1 – 25 of 56) sorted by relevance

123

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dshape_optimizer.cc79 for (MutableGraphView::InputPort fanout : in Optimize() local
81 if (fanout.node->op() != "Prod") { in Optimize()
84 if (fanout.node->attr().count("keep_dims") != 0 && in Optimize()
85 fanout.node->attr().at("keep_dims").b()) { in Optimize()
91 graph.GetRegularFanin(MutableGraphView::InputPort(fanout.node, 1)); in Optimize()
114 NodeDef size_node(*fanout.node); in Optimize()
121 (*size_node.mutable_attr())["out_type"] = fanout.node->attr().at("T"); in Optimize()
136 fanout.node->Swap(&size_node); in Optimize()
Dimplementation_selector.cc136 for (const auto& fanout : fanouts_at_pos) { in UpdateForwardIdentityNodeDtype() local
137 if ("Identity" == fanout.node_view()->GetOp()) { in UpdateForwardIdentityNodeDtype()
138 (*fanout.node_view()->node()->mutable_attr())["T"].set_type( in UpdateForwardIdentityNodeDtype()
141 << fanout.node_view()->node()->DebugString(); in UpdateForwardIdentityNodeDtype()
356 for (const auto& fanout : fanouts) { in SelectDeviceIndex() local
357 if (fanout.node_view()->GetOp() != kCaseOp && in SelectDeviceIndex()
358 fanout.node_view()->GetOp() != kStatelessCaseOp) in SelectDeviceIndex()
364 FindDeviceIndex(node_view, fanout.node_view()->GetDevice(), &index); in SelectDeviceIndex()
Dstatic_schedule.cc114 for (const NodeDef* fanout : fanouts[node]) { in EstimateEarliestExecutionTimes() local
115 int pending = pending_inputs[fanout]; in EstimateEarliestExecutionTimes()
120 ready_nodes.push_back(fanout); in EstimateEarliestExecutionTimes()
122 pending_inputs[fanout]--; in EstimateEarliestExecutionTimes()
125 std::max(completion_time, (*completion_times)[fanout]); in EstimateEarliestExecutionTimes()
126 (*completion_times)[fanout] = ready_time; in EstimateEarliestExecutionTimes()
Ddependency_optimizer.cc259 for (NodeDef* fanout : output_nodes) { in OptimizeNode()
262 for (int i = fanout->input_size() - 1; i >= 0; --i) { in OptimizeNode()
263 const TensorId input_tensor = ParseTensorName(fanout->input(i)); in OptimizeNode()
266 fanout->mutable_input()->SwapElements(i, fanout->input_size() - 1); in OptimizeNode()
267 fanout->mutable_input()->RemoveLast(); in OptimizeNode()
275 nodes_to_simplify->PushBack(node_to_idx_[fanout]); in OptimizeNode()
277 node_map_->RemoveOutput(node_name, fanout->name()); in OptimizeNode()
508 for (int fanout : outputs[node]) { in LongestPathsLowerBounds() local
514 if (fanout >= target_range.first && fanout <= target_range.second && in LongestPathsLowerBounds()
515 (*longest_distance)[fanout] != TWO_OR_GREATER) { in LongestPathsLowerBounds()
[all …]
Dcommon_subgraph_elimination.cc222 for (NodeDef* fanout : fanouts) { in DedupComputations()
225 for (int i = 0; i < fanout->input_size(); ++i) { in DedupComputations()
226 string* fanout_input = fanout->mutable_input(i); in DedupComputations()
237 nodes.RemoveRepresentative(fanout); in DedupComputations()
250 node_map.UpdateInput(fanout->name(), node->name(), rep->name()); in DedupComputations()
251 CanonicalizeNode(fanout); in DedupComputations()
Dpin_to_host_optimizer.cc357 for (const GraphView::InputPort& fanout : graph.GetFanouts(*node, false)) { in Optimize() local
359 if (!internal::IsNodeInputPortHostFriendly(*fanout.node, in Optimize()
360 fanout.port_id)) { in Optimize()
/external/iptables/extensions/
Dlibxt_NFQUEUE.t13 … --queue-balance 0:6 --queue-cpu-fanout --queue-bypass;-j NFQUEUE --queue-balance 0:6 --queue-bypa…
14 …e-bypass --queue-balance 0:6 --queue-cpu-fanout;-j NFQUEUE --queue-balance 0:6 --queue-bypass --qu…
Dlibxt_NFQUEUE.txlate7 …slate -A FORWARD -j NFQUEUE --queue-bypass -p TCP --sport 80 --queue-balance 0:3 --queue-cpu-fanout
8 nft add rule ip filter FORWARD tcp sport 80 counter queue num 0-3 bypass,fanout
/external/tensorflow/tensorflow/core/grappler/utils/
Dtopological_sort.cc82 for (int fanout : graph_view.GetFanout(ready_node)) { in ComputeTopologicalOrder() local
83 ++num_ready_inputs[fanout]; in ComputeTopologicalOrder()
84 const int max_size = graph_view.GetFanin(fanout).size(); in ComputeTopologicalOrder()
85 if (num_ready_inputs[fanout] == max_size) { in ComputeTopologicalOrder()
86 ready_nodes->push_back(fanout); in ComputeTopologicalOrder()
Dgraph_view.cc56 bool NodeView::HasFanout(const FaninView& fanout) const { in HasFanout()
57 if (fanout.index() < Graph::kControlSlot || in HasFanout()
58 graph_view_ != fanout.graph_view_) { in HasFanout()
61 NodeView* view = fanout.node_view(); in HasFanout()
64 } else if (fanout.index() == Graph::kControlSlot) { in HasFanout()
66 } else if (fanout.index() >= static_cast<int>(view->regular_fanins_.size())) { in HasFanout()
69 return view->regular_fanins_[fanout.index()].node_index_ == node_index_; in HasFanout()
191 bool MutableNodeView::HasFanout(const MutableFaninView& fanout) const { in HasFanout()
192 if (fanout.index() < Graph::kControlSlot || in HasFanout()
193 graph_view_ != fanout.graph_view_) { in HasFanout()
[all …]
Dpattern_utils.h212 for (const auto& fanout : fanouts) { in HasRemoveNodeExternalDependents() local
213 if (!matched_node_indices_.count(fanout.node_index())) { in HasRemoveNodeExternalDependents()
Dtraversal.cc112 for (const int fanout : graph_view.GetFanout(w.node)) { in DfsTraversal() local
113 stack.emplace_back(fanout, false, w.node); in DfsTraversal()
/external/python/cpython3/Modules/_blake2/clinic/
Dblake2s_impl.c.h17 int fanout, int depth, unsigned long leaf_size,
36 int fanout = 1; in py_blake2s_new() local
114 fanout = _PyLong_AsInt(fastargs[5]); in py_blake2s_new()
115 if (fanout == -1 && PyErr_Occurred()) { in py_blake2s_new()
194 …return_value = py_blake2s_new_impl(type, data, digest_size, &key, &salt, &person, fanout, depth, l… in py_blake2s_new()
Dblake2b_impl.c.h17 int fanout, int depth, unsigned long leaf_size,
36 int fanout = 1; in py_blake2b_new() local
114 fanout = _PyLong_AsInt(fastargs[5]); in py_blake2b_new()
115 if (fanout == -1 && PyErr_Occurred()) { in py_blake2b_new()
194 …return_value = py_blake2b_new_impl(type, data, digest_size, &key, &salt, &person, fanout, depth, l… in py_blake2b_new()
/external/tensorflow/tensorflow/core/grappler/
Dgraph_view_test.cc152 for (auto fanout : graph.GetFanout(output)) { in TEST_F() local
153 if (fanout.node->name() == "AddN_2" || fanout.node->name() == "AddN_3") { in TEST_F()
154 EXPECT_EQ(fanout.port_id, 0); in TEST_F()
195 auto fanout = graph.GetFanout(output); in TEST_F() local
196 EXPECT_EQ(fanout.size(), 1); in TEST_F()
197 EXPECT_EQ((*fanout.begin()).node->name(), "d"); in TEST_F()
198 EXPECT_EQ((*fanout.begin()).port_id, -1); in TEST_F()
203 fanout = graph.GetFanout(output); in TEST_F()
204 EXPECT_EQ(fanout.size(), 1); in TEST_F()
205 EXPECT_EQ((*fanout.begin()).node->name(), "b"); in TEST_F()
[all …]
Dmutable_graph_view.cc143 for (const auto& fanout : it->second) { in SwapRegularFanoutInputs() local
144 fanout.node->set_input(fanout.port_id, input); in SwapRegularFanoutInputs()
703 for (const auto& fanout : it->second) { in SwapNodeNames() local
705 fanouts().find({fanout.node, Graph::kControlSlot}); in SwapNodeNames()
706 dedup_control_fanouts(fanout.node, fanout_controls); in SwapNodeNames()
976 for (const auto& fanout : GetFanout(fanin)) { in GetControllingFaninToAdd() local
977 if (IsIdentity(*fanout.node) || IsIdentityNSingleInput(*fanout.node)) { in GetControllingFaninToAdd()
978 if (fanout.node->name() == node_name) { in GetControllingFaninToAdd()
981 AsControlDependency(fanout.node->name())); in GetControllingFaninToAdd()
984 return fanout.node; in GetControllingFaninToAdd()
[all …]
/external/python/cpython3/Modules/_blake2/
Dblake2s_impl.c91 int fanout, int depth, unsigned long leaf_size, in py_blake2s_new_impl() argument
139 if (fanout < 0 || fanout > 255) { in py_blake2s_new_impl()
144 self->param.fanout = (uint8_t)fanout; in py_blake2s_new_impl()
Dblake2b_impl.c91 int fanout, int depth, unsigned long leaf_size, in py_blake2b_new_impl() argument
139 if (fanout < 0 || fanout > 255) { in py_blake2b_new_impl()
144 self->param.fanout = (uint8_t)fanout; in py_blake2b_new_impl()
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dnfa.cc660 void Prog::Fanout(SparseArray<int>* fanout) { in Fanout() argument
661 DCHECK_EQ(fanout->max_size(), size()); in Fanout()
663 fanout->clear(); in Fanout()
664 fanout->set_new(start(), 0); in Fanout()
665 for (SparseArray<int>::iterator i = fanout->begin(); i != fanout->end(); ++i) { in Fanout()
682 if (!fanout->has_index(ip->out())) { in Fanout()
683 fanout->set_new(ip->out(), 0); in Fanout()
/external/python/cpython3/Modules/_blake2/impl/
Dblake2b-ref.c91 static inline int blake2b_param_set_fanout( blake2b_param *P, const uint8_t fanout ) in blake2b_param_set_fanout() argument
93 P->fanout = fanout; in blake2b_param_set_fanout()
185 P->fanout = 1; in blake2b_init()
208 P->fanout = 1; in blake2b_init_key()
Dblake2s-ref.c84 static inline int blake2s_param_set_fanout( blake2s_param *P, const uint8_t fanout ) in blake2s_param_set_fanout() argument
86 P->fanout = fanout; in blake2s_param_set_fanout()
179 P->fanout = 1; in blake2s_init()
201 P->fanout = 1; in blake2s_init_key()
Dblake2s.c121 static inline int blake2s_param_set_fanout( blake2s_param *P, const uint8_t fanout ) in blake2s_param_set_fanout() argument
123 P->fanout = fanout; in blake2s_param_set_fanout()
/external/rust/crates/futures-util/src/sink/
Dmod.rs26 mod fanout; module
27 pub use self::fanout::Fanout;
194 fn fanout<Si>(self, other: Si) -> Fanout<Self, Si> in fanout() method
/external/mesa3d/docs/drivers/freedreno/
Dir3-notes.rst172 **fanout**
240 fanout_0 [label="fanout\noff=0"];
242 fanout_1 [label="fanout\noff=1"];
244 fanout_2 [label="fanout\noff=2"];
295 … This has some overlap with `register groups`_, in that ``fanin`` and ``fanout`` are used to help…
329 To do an indirect write to a variable array, a ``fanout`` is used. Say the array was assigned to r…
341 …ruction does not write all elements of the array (compared to usage of ``fanout`` for ``sam`` inst…
354 fanout [label="fanout\noff=0"];
355 mul -> fanout;
356 fanout -> mov;
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/fuzzing/
Dre2_fuzzer.cc91 int fanout = re.ProgramFanout(&histogram); in TestOneInput() local
92 if (fanout > 9) in TestOneInput()

123