Home
last modified time | relevance | path

Searched refs:opts_ (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Dgraph_optimizer.cc27 GraphOptimizer::GraphOptimizer(const OptimizerOptions& opts) : opts_(opts) { in GraphOptimizer()
28 if (opts_.opt_level() >= OptimizerOptions::L1) { in GraphOptimizer()
29 opts_.set_do_common_subexpression_elimination(true); in GraphOptimizer()
30 opts_.set_do_constant_folding(true); in GraphOptimizer()
53 if (opts_.do_function_inlining() && RemoveDeadNodes(g)) { in Optimize()
57 if (opts_.do_function_inlining() && RemoveIdentityNodes(g)) { in Optimize()
62 if (opts_.do_constant_folding()) { in Optimize()
66 if (opts_.max_folded_constant_in_bytes() > 0) { in Optimize()
68 opts_.max_folded_constant_in_bytes(); in Optimize()
80 if (opts_.do_function_inlining() && FixupSourceAndSinkEdges(g)) { in Optimize()
[all …]
Dgraph_optimizer.h71 const OptimizerOptions& options() { return opts_; } in options()
74 OptimizerOptions opts_;
/external/tensorflow/tensorflow/core/kernels/
Drecord_yielder.cc26 : opts_(opts), in RecordYielder()
105 Status s = MatchFiles(opts_.file_pattern, &filenames); in MainLoop()
108 s = errors::NotFound("Found no files at ", opts_.file_pattern); in MainLoop()
119 Hash64(reinterpret_cast<char*>(&epoch_), sizeof(epoch_), opts_.seed)); in MainLoop()
125 if (0 <= opts_.file_shuffle_shift_ratio && in MainLoop()
126 opts_.file_shuffle_shift_ratio < 1) { in MainLoop()
127 shift = opts_.file_shuffle_shift_ratio * num; in MainLoop()
133 const int N = opts_.parallelism; in MainLoop()
148 if (num_records_added_in_epoch_ < opts_.bufsize) { in MainLoop()
150 opts_.bufsize = num_records_added_in_epoch_; in MainLoop()
[all …]
Dfunctional_ops.cc175 SetRunOptions(ctx_, &opts_, true /* always_collect_stats */); in State()
188 opts_, handle, args_, &rets_, in Start()
209 FunctionLibraryRuntime::Options opts_; member in tensorflow::__anon696c82e80111::IfOp::State
264 SetRunOptions(ctx_, &opts_, true /* always_collect_stats */); in State()
281 opts_, branch_handles_[branch], args_, &rets_, in Start()
301 FunctionLibraryRuntime::Options opts_; member in tensorflow::__anon696c82e80111::CaseOp::State
365 SetRunOptions(ctx_, &opts_, false /* always_collect_stats */); in State()
382 FunctionLibraryRuntime::Options opts_; member in tensorflow::__anon696c82e80111::WhileOp::State
389 opts_, cond_handle_, args_, &rets_, in EvalCond()
414 (opts_.rets_alloc_attrs.empty() || in StartBody()
[all …]
Drecord_yielder.h101 Options opts_; variable
138 return stop_ || buf_.size() < opts_.bufsize; in BufNotFull()
148 buf_.size() >= std::max<uint64>(1, opts_.bufsize / 2)); in BufEnough()
/external/tensorflow/tensorflow/core/graph/
Dgraph_constructor.cc151 : opts_(opts), in GraphConstructor()
240 const Options opts_; member in tensorflow::__anone86fd2d90111::GraphConstructor
376 if (NodeNameInValues(opts_.input_map, n->name())) { in EnsureNoNameCollisions()
381 if (NodeNameInValues(opts_.control_dependencies, n->name())) { in EnsureNoNameCollisions()
390 if (prefix_.empty() && opts_.importing && !opts_.uniquify_names) { in EnsureNoNameCollisions()
405 if (NameExistsInGraph(prefix_no_slash) && opts_.uniquify_prefix) { in EnsureNoNameCollisions()
413 for (const auto& mapping : opts_.input_map) { in ValidateInputMapAndControlDependencies()
428 for (const string& node : opts_.control_dependencies) { in ValidateInputMapAndControlDependencies()
443 if (!IsValidNodeName(node_def.name(), opts_.allow_internal_ops)) { in BuildNodeIndex()
459 if (opts_.expect_device_spec && node_def.device().empty()) { in BuildNodeIndex()
[all …]
Dgraph_def_builder.h147 : graph_(op_registry), opts_(&graph_, &status_) {} in graph_()
155 : graph_(op_registry), opts_(&graph_, nullptr) {} in graph_()
158 const Options& opts() const { return opts_; } in opts()
181 Options opts_; variable
/external/flatbuffers/include/flatbuffers/
Dregistry.h79 void SetOptions(const IDLOptions &opts) { opts_ = opts; } in SetOptions()
105 parser->opts = opts_; in LoadSchema()
120 IDLOptions opts_; variable
/external/tensorflow/tensorflow/core/distributed_runtime/
Dcancellable_call.h44 token, [this, token]() { opts_.StartCancel(); }); in Start()
61 CallOptions opts_; variable
Dcollective_rma_distributed.cc57 wi_->RecvBufAsync(&opts_, &req_, &resp_, done); in IssueCall()
Dcollective_param_resolver_distributed.cc39 wi_->CompleteGroupAsync(&opts_, &req_, &resp_, done); in IssueCall()
72 wi_->CompleteInstanceAsync(&opts_, &req_, &resp_, done); in IssueCall()
Dcollective_rma_distributed_test.cc254 CallOptions opts_; member in tensorflow::__anond64f02c00111::CollRMADistTest
/external/tensorflow/tensorflow/contrib/gdr/
Dgdr_rendezvous_mgr.cc82 wi_->RecvTensorAsync(&opts_, &req_, &resp_, std::move(cb)); in Start()
90 opts_.StartCancel(); in StartAbort()
110 CallOptions opts_; member in tensorflow::__anon6a33ee8b0111::GdrRecvTensorCall
Dgdr_collective_executor_mgr.cc58 wi_->RecvBufAsync(&opts_, &req_, &resp_, done); in IssueCall()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Drpc_rendezvous_mgr.cc110 opts_.StartCancel(); in StartAbort()
151 wi_->RecvTensorAsync(&opts_, &req_, &resp_, std::move(cb)); in StartRTCall()
159 CallOptions opts_; member in tensorflow::__anon2b42d2c80111::RpcRecvTensorCall
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_code.cc178 : string_table_(string_table), opts_(opts) {} in Samples()
208 string type = *opts_->select.begin(); in Add()
256 const Options* opts_; member in tensorflow::tfprof::__anon1c1cedaa0111::Samples
263 : opts_(opts), in PprofProfileImpl()
315 string type = *opts_->select.begin(); in Build()
375 const Options* opts_; member in tensorflow::tfprof::__anon1c1cedaa0111::PprofProfileImpl
/external/google-benchmark/include/benchmark/
Dbenchmark.h1456 explicit ConsoleReporter(OutputOptions opts_ = OO_Defaults)
1457 : output_options_(opts_), in output_options_() argument
/external/libcxx/utils/google-benchmark/include/benchmark/
Dbenchmark.h1456 explicit ConsoleReporter(OutputOptions opts_ = OO_Defaults)
1457 : output_options_(opts_), in output_options_() argument