/external/tensorflow/tensorflow/compiler/jit/ |
D | node_matchers.h | 100 const absl::optional<NodeSeqMatcher>& control_deps() const { in control_deps() function 131 void set_control_deps(NodeSeqMatcher control_deps) { in set_control_deps() argument 133 control_deps_ = std::move(control_deps); in set_control_deps() 143 !control_deps().has_value() && !attr().has_value(); in IsEmpty() 163 absl::Span<const ::testing::Matcher<const Node*>> control_deps); 224 impl::NodeMatcherProperties CtrlDeps(Ts... control_deps) { in CtrlDeps() argument 225 return impl::CtrlDeps({control_deps...}); in CtrlDeps()
|
D | node_matchers.cc | 176 std::vector<const Node*> control_deps; in MatchAndExplain() local 179 control_deps.push_back(e->src()); in MatchAndExplain() 185 !control_dep_set->MatchAndExplain(control_deps, &inner_listener)) { in MatchAndExplain() 416 if (prop.control_deps()) { in NodeWith() 419 ::testing::UnorderedElementsAreArray(*prop.control_deps()); in NodeWith() 462 absl::Span<const ::testing::Matcher<const Node*>> control_deps) { in CtrlDeps() 464 absl::c_copy(control_deps, std::back_inserter(control_deps_vector)); in CtrlDeps()
|
D | increase_dynamism_for_auto_jit_pass.cc | 149 const std::vector<const Edge*>& control_deps) in ConstantCache() argument 150 : scope_(s), control_deps_(control_deps) {} in ConstantCache() 174 std::vector<const Edge*> control_deps, Output* size) { in ComputeSliceSize() argument 194 ConstantCache constant_pool(host_scope, control_deps); in ComputeSliceSize() 224 for (const Edge* e : control_deps) { in ComputeSliceSize()
|
D | encapsulate_util.cc | 275 std::vector<string> control_deps; in PostprocessControlEdgesBetweenOutsideCompilations() local 278 &control_deps); in PostprocessControlEdgesBetweenOutsideCompilations() 287 for (const string& control_input : control_deps) { in PostprocessControlEdgesBetweenOutsideCompilations()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | constant_folding.cc | 290 gtl::FlatSet<Node*>& control_deps = (*constant_control_deps)[n]; in ConsiderConstantFoldableNode() local 301 control_deps.insert(e->src()); in ConsiderConstantFoldableNode() 308 control_deps.insert(parent_deps.begin(), parent_deps.end()); in ConsiderConstantFoldableNode() 469 const Tensor& constant, const gtl::FlatSet<Node*>& control_deps, in ReplaceTensorWithConstant() argument 548 if (control_deps.empty()) { in ReplaceTensorWithConstant() 551 for (Node* node : control_deps) { in ReplaceTensorWithConstant() 646 const gtl::FlatSet<Node*>& control_deps = in ConstantFold() local 650 control_deps, opts.max_constant_size_in_bytes, generate_new_name)) { in ConstantFold()
|
/external/tensorflow/tensorflow/cc/framework/ |
D | scope.cc | 120 std::vector<Operation> control_deps, bool clear_control_deps) in Impl() argument 129 : (control_deps.insert(control_deps.begin(), in Impl() 132 control_deps)), in Impl() 298 const std::vector<Operation>& Scope::control_deps() const { in control_deps() function in tensorflow::Scope 430 const gtl::ArraySlice<Operation>& control_deps) const { in WithControlDependencies() 433 std::vector<Operation>(control_deps.begin(), control_deps.end()), in WithControlDependencies()
|
D | scope.h | 129 const gtl::ArraySlice<Operation>& control_deps) const; 232 const std::vector<Operation>& control_deps() const;
|
D | scope_internal.h | 48 const std::vector<Operation>& control_deps() const { return control_deps_; } in control_deps() function 74 std::vector<Operation> control_deps, bool clear_control_deps);
|
D | scope_test.cc | 143 EXPECT_EQ(c.control_deps().size(), 2); in TEST() 145 EXPECT_EQ(c_c.control_deps().size(), 3); in TEST()
|
/external/tensorflow/tensorflow/contrib/compiler/ |
D | xla.py | 347 output_tensors, control_deps = _postprocess_flat_outputs(outputs) 349 output_tensors, control_deps = _postprocess_non_flat_outputs(outputs) 361 return control_flow_ops.group(control_deps, name='output_0') 368 with ops.control_dependencies(control_deps):
|
/external/tensorflow/tensorflow/python/tpu/ |
D | tpu.py | 908 output_tensors, control_deps = _postprocess_flat_outputs(outputs) 910 output_tensors, control_deps = _postprocess_non_flat_outputs(outputs) 920 output_tensors, control_deps, 949 control_flow_ops.group(control_deps, name="shard_%d" % i) 963 with ops.control_dependencies(control_deps):
|
D | tpu_estimator.py | 877 control_deps = [] 887 with ops.control_dependencies(control_deps): 907 control_deps.extend(flattened_inputs)
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | function_optimizer.cc | 257 absl::flat_hash_set<string> control_deps; member 554 absl::flat_hash_set<string>* control_deps) { in PushDownConstInputs() argument 560 control_deps->insert(input); in PushDownConstInputs() 603 if (!specialization.control_deps.empty()) { in RemovePushedDownConstInputs() 610 for (const string& ctrl : specialization.control_deps) { in RemovePushedDownConstInputs() 815 absl::flat_hash_set<string> control_deps; in SpecializeFunction() local 817 &control_deps)); in SpecializeFunction() 863 control_deps, signature.active_outputs, output_mapping}; in SpecializeFunction()
|
/external/tensorflow/tensorflow/c/ |
D | c_api.cc | 2252 const std::vector<tensorflow::Operation>& control_deps, in CopyGraph() argument 2268 for (const tensorflow::Operation& op : control_deps) { in CopyGraph() 2413 scope.impl()->control_deps(), ¶ms->cond_output, in TF_FinishWhileHelper() 2429 scope.impl()->name(), scope.impl()->control_deps(), in TF_FinishWhileHelper()
|