Home
last modified time | relevance | path

Searched refs:_options (Results 1 – 25 of 47) sorted by relevance

12

/external/tensorflow/tensorflow/python/profiler/
Doption_builder.py69 self._options = copy.deepcopy(options)
71 self._options = {'max_depth': 100,
199 return copy.deepcopy(self._options)
213 self._options['max_depth'] = max_depth
239 self._options['min_bytes'] = min_bytes
240 self._options['min_peak_bytes'] = min_peak_bytes
241 self._options['min_residual_bytes'] = min_residual_bytes
242 self._options['min_output_bytes'] = min_output_bytes
261 self._options['min_micros'] = min_micros
262 self._options['min_accelerator_micros'] = min_accelerator_micros
[all …]
/external/v8/tools/dev/
Dv8gen.py66 self._options = self._parse_arguments(args[:index])
127 if not self._options.outdir and not self._options.builder:
131 if not self._options.outdir:
133 self._options.outdir = _sanitize_nonalpha(self._options.builder)
137 if self._options.outdir.startswith('/'):
141 if not self._options.builder:
143 self._options.builder = self._options.outdir
146 if self._options.builder not in self._mbw.masters[self._options.master]:
148 self._options.builder, CONFIG, self._options.master)
156 gn_outdir = '/'.join([OUT_DIR, self._options.outdir])
[all …]
/external/ImageMagick/Magick++/lib/
DImageRef.cpp21 _options(new Options), in ImageRef()
25 _image=AcquireImage(_options->imageInfo(),exceptionInfo); in ImageRef()
32 _options(new Options), in ImageRef()
44 delete _options; in ~ImageRef()
45 _options=(Options *) NULL; in ~ImageRef()
91 delete _options; in options()
92 _options=options_; in options()
97 return(_options); in options()
119 instance=new ImageRef(replacement_,imgRef->_options); in replaceImage()
151 _options(0), in ImageRef()
[all …]
/external/v8/tools/release/
Dauto_roll.py40 self["last_roll"] = self._options.last_roll
46 exec(FileToText(os.path.join(self._options.chromium, "DEPS")))
59 self["roll"] = self._options.revision
68 max_age=self._options.max_age * DAY_IN_SECONDS)
110 cwd = self._options.chromium
125 cwd = self._options.chromium
141 cwd = self._options.chromium
155 message.append("TBR=%s" % self._options.reviewer)
156 self.GitCommit("\n\n".join(message), author=self._options.author, cwd=cwd)
157 if not self._options.dry_run:
[all …]
Dauto_push.py77 "--author", self._options.author,
78 "--reviewer", self._options.reviewer,
83 if self._options.work_dir:
84 args.extend(["--work-dir", self._options.work_dir])
86 if self._options.push:
Dcommon_includes.py418 self._options = options
425 os.path.join(self._options.work_dir, "v8"))
495 if self._options.force_readline_defaults and default is not None:
515 if self._options.requires_editor:
537 if not self._options.manual: # pragma: no cover
564 if (self._options.requires_editor and (not os.environ.get("EDITOR") or
616 answer = self.ReadLine(None if self._options.wait_for_lgtm else "LGTM")
760 if not os.path.exists(self._options.work_dir):
761 os.makedirs(self._options.work_dir)
763 self.Command("fetch", "v8", cwd=self._options.work_dir)
[all …]
Droll_merge.py43 if self._options.force:
45 elif self._options.step == 0: # pragma: no cover
50 if self._options.branch:
51 self["merge_to_branch"] = self._options.branch
72 self._options.revisions))
144 if self._options.patch:
145 self.ApplyPatch(self._options.patch)
Dcreate_release.py27 self["push_hash"] = (self._options.revision or
140 if self._options.dry_run:
206 text += "\n\nTBR=%s" % self._options.reviewer
219 if self._options.dry_run:
222 self.GitUpload(author=self._options.author,
227 if self._options.dry_run:
237 if self._options.dry_run:
Dmerge_to_branch.py44 if self._options.force:
46 elif self._options.step == 0: # pragma: no cover
52 self["merge_to_branch"] = self._options.branch
71 self._options.revisions))
162 if self._options.patch:
163 self.ApplyPatch(self._options.patch)
Dpush_to_candidates.py67 if self._options.revision:
68 self["push_hash"] = self._options.revision
113 if self._options.last_master:
114 self["last_push_master"] = self._options.last_master
/external/autotest/server/cros/ap_configurators/
Dfetch_prebuilt_pyauto.py53 self._options, self._args = parser.parse_args()
54 if self._options.latest:
55 self._url = self._GetLastestDownloadURL(self._options.platform)
61 if not self._options.outdir:
64 self._outdir = self._options.outdir
70 if not self._options.platform.startswith('linux'):
73 }[self._options.platform]
80 }[self._options.platform]
94 if self._options.platform == 'win':
100 if self._options.platform == 'mac':
[all …]
/external/lzma/CPP/7zip/Archive/7z/
D7zEncode.cpp130 if (_options.MultiThreadMixer) in CreateMixerCoder()
151 FOR_VECTOR (m, _options.Methods) in CreateMixerCoder()
153 const CMethodFull &methodFull = _options.Methods[m]; in CreateMixerCoder()
183 RINOK(setCoderMt->SetNumberOfThreads(_options.NumThreads)); in CreateMixerCoder()
217 const unsigned sizeInBytes = _options.Password.Len() * 2; in CreateMixerCoder()
219 for (unsigned i = 0; i < _options.Password.Len(); i++) in CreateMixerCoder()
221 wchar_t c = _options.Password[i]; in CreateMixerCoder()
495 _options = options; in CEncoder()
513 if (_options.Methods.IsEmpty()) in EncoderConstr()
516 if (!_options.PasswordIsDefined) in EncoderConstr()
[all …]
/external/autotest/site_utils/
Dgenerate_test_report420 self._options = options
435 collect_perf=self._options.perf,
436 collect_attr=self._options.attr,
437 collect_info=self._options.info,
438 escape_error=self._options.escape_error,
439 whitelist_chrome_crashes=self._options.whitelist_chrome_crashes)
460 if self._options.csv:
496 if not self._options.csv:
505 delimiter = ',' if self._options.csv else ' '
515 if not self._options.csv and error_msg:
[all …]
/external/tensorflow/tensorflow/python/data/util/
Doptions.py40 for name in set(self._options) | set(other._options): # pylint: disable=protected-access
76 if name not in option._options:
77 option._options[name] = default_factory()
78 return option._options.get(name)
84 option._options[name] = value # pylint: disable=protected-access
130 for name in options._options: # pylint: disable=protected-access
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/ops/
Dsdca_ops.py159 self._options = options
175 return self._options['symmetric_l1_regularization']
179 return max(self._options['symmetric_l2_regularization'], 1.0)
185 return self._options.get('num_loss_partitions', 1)
189 return self._options.get('adaptive', True)
196 num_shards = self._options.get('num_table_shards')
267 return self._options['symmetric_l1_regularization'] * math_ops.add_n(sums)
352 if self._options['loss_type'] == 'logistic_loss':
356 elif self._options['loss_type'] == 'poisson_loss':
517 loss_type=self._options['loss_type'],
[all …]
/external/autotest/client/cros/
Ddhcp_packet.py649 self._options = {}
686 self._options[option] = option_value
688 self._options[OPTION_DNS_DOMAIN_SEARCH_LIST] = option_value
719 if (self._options.has_key(OPTION_DHCP_MESSAGE_TYPE) and
720 self._options[OPTION_DHCP_MESSAGE_TYPE] > 0 and
721 self._options[OPTION_DHCP_MESSAGE_TYPE] < len(MESSAGE_TYPE_BY_NUM)):
722 return MESSAGE_TYPE_BY_NUM[self._options[OPTION_DHCP_MESSAGE_TYPE]]
734 return self._options.get(option)
740 self._options[option] = option_value
762 option_value = self._options.get(option)
[all …]
Dradvd_server.py65 self._options = {
84 return self._options
/external/python/cpython2/Lib/xml/dom/
Dxmlbuilder.py58 self._options = Options()
85 setattr(self._options, name, value)
90 return hasattr(self._options, _name_xform(name))
165 return getattr(self._options, xname)
168 options = self._options
188 options = copy.copy(self._options)
Dexpatbuilder.py140 self._options = options
141 if self._options.filter is not None:
142 self._filter = FilterVisibilityController(self._options.filter)
181 if self._options.entities:
184 if self._options.comments:
186 if self._options.cdata_sections:
262 if self._options.comments:
314 if not self._options.entities:
416 if (self._options.whitespace_in_element_content
735 if self._options.namespace_declarations:
/external/python/cpython3/Lib/tkinter/
Dtix.py121 return self.tk.call(('tix', 'configure') + self._options(cnf))
229 self.tk.call('tixForm', self._w, *self._options(cnf, kw))
484 *self._options(cnf,kw) )
489 def _options(self, cnf, kw): member in DisplayStyle
507 self.stylename, 'configure', *self._options(cnf,kw))
539 self.tk.call(self._w, 'bind', widget._w, *self._options(cnf, kw))
555 btn = self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
867 return self.tk.call(self._w, 'add', entry, *self._options(cnf, kw))
873 self._w, 'addchild', parent, *self._options(cnf, kw))
913 self.tk.call(self._w, 'header', 'create', col, *self._options(cnf, kw))
[all …]
/external/python/cpython2/Lib/lib-tk/
DTix.py125 return self.tk.call(('tix', 'configure') + self._options(cnf))
233 self.tk.call('tixForm', self._w, *self._options(cnf, kw))
486 *self._options(cnf,kw) )
491 def _options(self, cnf, kw): member in DisplayStyle
509 self.stylename, 'configure', *self._options(cnf,kw))
541 self.tk.call(self._w, 'bind', widget._w, *self._options(cnf, kw))
557 btn = self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
869 return self.tk.call(self._w, 'add', entry, *self._options(cnf, kw))
875 self._w, 'addchild', parent, *self._options(cnf, kw))
915 self.tk.call(self._w, 'header', 'create', col, *self._options(cnf, kw))
[all …]
/external/python/cpython3/Lib/xml/dom/
Dxmlbuilder.py59 self._options = Options()
86 setattr(self._options, name, value)
91 return hasattr(self._options, _name_xform(name))
166 return getattr(self._options, xname)
169 options = self._options
189 options = copy.copy(self._options)
Dexpatbuilder.py140 self._options = options
141 if self._options.filter is not None:
142 self._filter = FilterVisibilityController(self._options.filter)
181 if self._options.entities:
184 if self._options.comments:
186 if self._options.cdata_sections:
262 if self._options.comments:
310 if not self._options.entities:
409 if (self._options.whitespace_in_element_content
728 if self._options.namespace_declarations:
/external/bcc/src/lua/bcc/vendor/
Dargparse.lua206 table.remove(self._options)
232 _options = {},
535 for _, option in ipairs(self._options) do
554 table.insert(self._options, #self._options, option)
556 table.insert(self._options, option)
630 for _, option in ipairs(self._options) do
646 for _, option in ipairs(self._options) do
697 for i, elements in ipairs{self._arguments, self._options, self._commands} do
925 for _, option in ipairs(parser._options) do
/external/protobuf/python/google/protobuf/
Ddescriptor.py100 self._options = options
112 self._options = options
124 if self._options:
125 return self._options
132 self._options = options_class()
133 return self._options

12