Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/core/common_runtime/
Dgraph_optimizer.cc28 GraphOptimizer::GraphOptimizer(const OptimizerOptions& opts) : opts_(opts) { in GraphOptimizer()
29 if (opts_.opt_level() >= OptimizerOptions::L1) { in GraphOptimizer()
30 opts_.set_do_common_subexpression_elimination(true); in GraphOptimizer()
31 opts_.set_do_constant_folding(true); in GraphOptimizer()
57 if (opts_.do_function_inlining() && RemoveDeadNodes(g)) { in Optimize()
61 if (opts_.do_function_inlining() && RemoveIdentityNodes(g)) { in Optimize()
66 if (opts_.do_constant_folding()) { in Optimize()
70 if (opts_.max_folded_constant_in_bytes() > 0) { in Optimize()
72 opts_.max_folded_constant_in_bytes(); in Optimize()
84 if (opts_.do_function_inlining() && FixupSourceAndSinkEdges(g)) { in Optimize()
[all …]
Dgraph_constructor.cc176 : opts_(opts), in GraphConstructor()
294 const Options opts_; member in tensorflow::__anond78e089a0111::GraphConstructor
582 if (NodeNameInValues(opts_.input_map, n->name())) { in EnsureNoNameCollisions()
587 if (NodeNameInValues(opts_.control_dependencies, n->name())) { in EnsureNoNameCollisions()
596 if (prefix_.empty() && opts_.importing && !opts_.uniquify_names) { in EnsureNoNameCollisions()
611 if (NameExistsInGraph(prefix_no_slash) && opts_.uniquify_prefix) { in EnsureNoNameCollisions()
619 for (const auto& mapping : opts_.input_map) { in ValidateInputMapAndControlDependencies()
634 for (const string& node : opts_.control_dependencies) { in ValidateInputMapAndControlDependencies()
649 if (!IsValidNodeName(node_def.name(), opts_.allow_internal_ops)) { in BuildNodeIndex()
665 if (opts_.expect_device_spec && node_def.device().empty()) { in BuildNodeIndex()
[all …]
Dgraph_optimizer.h90 const OptimizerOptions& options() { return opts_; } in options()
93 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 …]
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()
Dfunctional_ops.cc166 SetRunOptions(ctx_, &opts_, true /* always_collect_stats */); in State()
180 opts_, handle, args_, &rets_, in Start()
201 FunctionLibraryRuntime::Options opts_; member in tensorflow::__anonf02e412f0111::IfOp::State
292 SetRunOptions(ctx_, &opts_, true /* always_collect_stats */); in State()
310 opts_, branch_handles_[branch], args_, &rets_, in Start()
330 FunctionLibraryRuntime::Options opts_; member in tensorflow::__anonf02e412f0111::CaseOp::State
511 SetRunOptions(ctx_, &opts_, false /* always_collect_stats */); in State()
528 FunctionLibraryRuntime::Options opts_; member in tensorflow::__anonf02e412f0111::WhileOp::State
538 opts_, cond_handle_, args_, &rets_, in EvalCond()
561 s = CondResultToBool(ctx_, opts_, rets_[0], &cond); in StartBody()
[all …]
/external/flatbuffers/src/
Didl_gen_cpp.cpp96 opts_(opts), in CppGenerator()
214 GeneratedFileName(opts_.include_prefix, in GenIncludeDependencies()
215 opts_.keep_include_path ? noext : basename, opts_); in GenIncludeDependencies()
223 for (std::size_t i = 0; i < opts_.cpp_includes.size(); ++i) { in GenExtraIncludes()
224 code_ += "#include \"" + opts_.cpp_includes[i] + "\""; in GenExtraIncludes()
226 if (!opts_.cpp_includes.empty()) { code_ += ""; } in GenExtraIncludes()
297 GeneratedFileName(path_, file_name_ + "_bfbs", opts_); in generate_bfbs_embed()
315 if (opts_.gen_nullable) { code_ += "#pragma clang system_header\n\n"; } in generate()
323 if (opts_.include_dependence_headers) { GenIncludeDependencies(); } in generate()
339 if (opts_.generate_object_based_api) { in generate()
[all …]
/external/tensorflow/tensorflow/lite/tools/evaluation/stages/utils/
Dimage_metrics.cc66 int r_level = opts_.num_recall_points; in FromPRCurve()
81 while (item.r * opts_.num_recall_points < r_level) { in FromPRCurve()
83 static_cast<float>(r_level) / opts_.num_recall_points; in FromPRCurve()
97 const float recall = static_cast<float>(r_level) / opts_.num_recall_points; in FromPRCurve()
103 return sum / (1 + opts_.num_recall_points); in FromPRCurve()
145 if ((best != g->end()) && (best_iou >= opts_.iou_threshold)) { in FromBoxes()
Dimage_metrics.h99 explicit AveragePrecision(const Options& opts) : opts_(opts) {} in AveragePrecision()
125 Options opts_;
/external/tensorflow/tensorflow/core/graph/
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/zstd/tests/gzip/
Dinit.sh221 *v*x* | *x*v*) opts_=-vx ;;
222 *v*) opts_=-v ;;
223 *x*) opts_=-x ;;
224 *) opts_= ;;
228 exec "$re_shell_" $opts_ "$0" --no-reexec "$@"
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Drpc_rendezvous_mgr.cc111 opts_.StartCancel(); in StartAbort()
152 wi_->RecvTensorAsync(&opts_, &req_, &resp_, std::move(cb)); in StartRTCall()
165 opts_.StartCancel(); in StartRTCall()
176 CallOptions opts_; member in tensorflow::__anona9090a8f0111::RpcRecvTensorCall
/external/tensorflow/tensorflow/core/distributed_runtime/
Dcancellable_call.cc45 opts_.StartCancel(); in Cancel()
Dcancellable_call.h57 CallOptions opts_; variable
Dcollective_param_resolver_distributed.cc49 wi_->CompleteGroupAsync(&opts_, &req_, &resp_, done); in IssueCall()
82 wi_->CompleteInstanceAsync(&opts_, &req_, &resp_, done); in IssueCall()
Dcollective_rma_distributed.cc60 wi_->RecvBufAsync(&opts_, &req_, &resp_, done); in IssueCall()
/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::__anonc1fef6110111::Samples
263 : opts_(opts), in PprofProfileImpl()
326 string type = *opts_->select.begin(); in Build()
386 const Options* opts_; member in tensorflow::tfprof::__anonc1fef6110111::PprofProfileImpl
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext.h496 const SessionOptions& session_options() const { return opts_; } in session_options()
571 SessionOptions opts_; variable
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/
Dares-test-mock.cc292 FillOptions(&opts_), in MockExtraOptsTest()
302 struct ares_options opts_; member in ares::test::MockExtraOptsTest
334 FillOptions(&opts_, flags), ARES_OPT_FLAGS) {} in MockFlagsChannelOptsTest()
341 struct ares_options opts_; member in ares::test::MockFlagsChannelOptsTest
Ddns-proto.cc563 for (const DNSOption& opt : opts_) { in data()
567 for (const DNSOption& opt : opts_) { in data()
Ddns-proto.h183 std::vector<DNSOption> opts_; member
/external/llvm-project/llvm/utils/benchmark/include/benchmark/
Dbenchmark.h1398 explicit ConsoleReporter(OutputOptions opts_ = OO_Defaults)
1399 : output_options_(opts_), name_field_width_(0), 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
/external/llvm-project/libcxx/utils/google-benchmark/include/benchmark/
Dbenchmark.h1456 explicit ConsoleReporter(OutputOptions opts_ = OO_Defaults)
1457 : output_options_(opts_), in output_options_() argument

12