Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dmap_and_filter_fusion.cc90 NodeDef filter_node; in MakeFilterNode() local
92 &filter_node); in MakeFilterNode()
93 filter_node.set_op("FilterDataset"); in MakeFilterNode()
94 filter_node.add_input(fused_map.name()); in MakeFilterNode()
97 graph_utils::CopyAttribute(key, fused_map, &filter_node); in MakeFilterNode()
100 AddNodeAttr("Targuments", std::vector<DataType>({}), &filter_node); in MakeFilterNode()
117 (*filter_node.mutable_attr())["predicate"] = in MakeFilterNode()
119 return filter_node; in MakeFilterNode()
196 const NodeDef* filter_node) -> FunctionDef* { in OptimizeAndCollectStats() argument
200 const auto& fun = filter_node->attr().at("predicate"); in OptimizeAndCollectStats()
[all …]
Dfilter_with_random_uniform_fusion.cc36 NodeDef MakeFusedNode(const NodeDef& filter_node, float rate, int64 seed, in MakeFusedNode() argument
44 for (int i = 0; i < filter_node.input_size(); ++i) { in MakeFusedNode()
45 fused_node.add_input(filter_node.input(i)); in MakeFusedNode()
50 graph_utils::CopyAttribute(key, filter_node, &fused_node); in MakeFusedNode()
55 if (gtl::FindOrNull(filter_node.attr(), key)) { in MakeFusedNode()
56 graph_utils::CopyAttribute(key, filter_node, &fused_node); in MakeFusedNode()
145 const NodeDef& filter_node = node; in OptimizeAndCollectStats() local
148 const auto& predicate = filter_node.attr().at("predicate"); in OptimizeAndCollectStats()
251 graph.AddNode(MakeFusedNode(filter_node, rate, seed, seed2, &graph)); in OptimizeAndCollectStats()
254 graph.UpdateFanouts(filter_node.name(), fused_sampling->name())); in OptimizeAndCollectStats()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/channel/
Dchannel_stack_builder.cc28 typedef struct filter_node { struct
29 struct filter_node* next; argument
30 struct filter_node* prev; argument
34 } filter_node; argument
38 filter_node begin;
39 filter_node end;
50 filter_node* node;
79 grpc_channel_stack_builder* builder, filter_node* node) { in create_iterator_at_filter_node()
225 static void add_after(filter_node* before, const grpc_channel_filter* filter, in add_after()
228 filter_node* new_node = in add_after()
[all …]
/external/grpc-grpc/src/core/lib/channel/
Dchannel_stack_builder.cc28 typedef struct filter_node { struct
29 struct filter_node* next; argument
30 struct filter_node* prev; argument
34 } filter_node; argument
38 filter_node begin;
39 filter_node end;
49 filter_node* node;
78 grpc_channel_stack_builder* builder, filter_node* node) { in create_iterator_at_filter_node()
213 static void add_after(filter_node* before, const grpc_channel_filter* filter, in add_after()
216 filter_node* new_node = in add_after()
[all …]
/external/tensorflow/tensorflow/tools/graph_transforms/
Dflatten_atrous.cc56 const NodeDef& filter_node = match.inputs[0].inputs[1].node; in FlattenAtrousConv() local
68 const Tensor& filter = GetNodeTensorAttr(filter_node, "value"); in FlattenAtrousConv()
100 upsampled_filter_node.set_name(filter_node.name()); in FlattenAtrousConv()
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/
Dpool_2d_builder.cc51 auto* filter_node = graph_builder_->AddConstNodeWithData( in PopulateSubGraph() local
53 AddInput(TensorID(filter_node->GetID(), 0)); in PopulateSubGraph()
/external/skia/modules/skottie/src/effects/
DShadowStyles.cpp120 auto filter_node = abuilder.attachDiscardableAdapter<ShadowAdapter>(jstyle, abuilder, type); in make_shadow_effect() local
122 return sksg::ImageFilterEffect::Make(std::move(layer), std::move(filter_node)); in make_shadow_effect()
DGlowStyles.cpp146 auto filter_node = abuilder.attachDiscardableAdapter<GlowAdapter>(jstyle, abuilder, type); in make_glow_effect() local
148 return sksg::ImageFilterEffect::Make(std::move(layer), std::move(filter_node)); in make_glow_effect()
/external/tensorflow/tensorflow/core/common_runtime/
Dmkl_layout_pass.cc1653 Node* filter_node = nullptr; in QuantizeOpRewrite() local
1654 TF_CHECK_OK(n->input_node(0, &filter_node)); in QuantizeOpRewrite()
1687 if (filter_node->IsConstant()) { in QuantizeOpRewrite()
2234 Node* filter_node = nullptr; in SetUpContiguousInputs() local
2236 &filter_node)); in SetUpContiguousInputs()
2237 DCHECK(filter_node); in SetUpContiguousInputs()
2242 for (const Edge* e : filter_node->out_edges()) { in SetUpContiguousInputs()
2253 << filter_node->DebugString(); in SetUpContiguousInputs()
2620 Node* filter_node = nullptr; in CopyAttrsAllCheckConstFilter() local
2621 TF_CHECK_OK(orig_node->input_node(1, &filter_node)); in CopyAttrsAllCheckConstFilter()
[all …]
/external/python/jinja/src/jinja2/
Dparser.py190 filter_node = self.parse_filter(None)
192 return nodes.AssignBlock(target, filter_node, body, lineno=lineno)
/external/libchrome/third_party/jinja2/
Dparser.py183 filter_node = self.parse_filter(None)
186 return nodes.AssignBlock(target, filter_node, body, lineno=lineno)