Home
last modified time | relevance | path

Searched refs:docstring (Results 1 – 25 of 180) sorted by relevance

12345678

/external/tensorflow/tensorflow/python/data/experimental/ops/
Doptimization_options.py43 docstring=
50 docstring=
57 docstring=
66 docstring=
72 docstring=
79 docstring=
86 docstring=
93 docstring="Whether to fuse map transformations. If None, defaults to "
99 docstring=
106 docstring=
[all …]
Dstats_options.py49 docstring=
55 docstring=
62 docstring="Prefix for the statistics recorded as counter.",
68 docstring=
Dthreading_options.py43 docstring=
49 docstring=
/external/python/cpython2/Mac/Modules/res/
Dresedit.py52 f.docstring = lambda: """Convert a string to a Handle object.
70 docstring = "Return this resource/handle as a %s"%longname
71 f.docstring = lambda docstring=docstring: docstring
101 f.docstring = lambda: "(int)->int. Automatically DisposeHandle the object on Python object cleanup"
/external/python/cpython2/Mac/Modules/ctl/
Dctlsupport.py545 f.docstring = lambda: "(Point startPoint [,trackercallback]) -> (ControlPartCode _rv)"
581 f.docstring = lambda: "(Point startPoint, Integer modifiers, [,trackercallback]) -> (ControlPartCod…
611 f.docstring = lambda: "(stuff) -> None"
656 f.docstring = lambda: "(part, type) -> String"
685 f.docstring = lambda: "(ResObj) -> None"
728 f.docstring = lambda: "(part, type) -> ResObj"
760 f.docstring = lambda: "(callbackfunc) -> None"
821 f.docstring = lambda: "(WindowPtr window, Rect boundsRect, UInt16 size, UInt16 direction, ControlTa…
/external/brotli/
Dconfigure-cmake137 if [ "x${docstring}" = "x" ]; then
140 printf " --enable-%-14s %s\n" "${VAR_NAME}" "$docstring"
153 if [ "x${docstring}" = "x" ]; then
156 printf " --disable-%-13s %s\n" "${VAR_NAME}" "$docstring"
170 if [ "x${docstring}" = "x" ]; then
173 printf " --with-%-16s %s\n" "$paraminfo" "$docstring"
/external/tensorflow/tensorflow/python/platform/
Dflags_test.py30 flag_name='old_string', default_value='default', docstring='docstring')
34 flag_name='old_integer', default_value=1, docstring='docstring')
38 flag_name='old_float', default_value=1.5, docstring='docstring')
42 flag_name='old_bool', default_value=True, docstring='docstring')
46 flag_name='old_boolean', default_value=False, docstring='docstring')
/external/python/cpython2/Mac/Modules/qd/
Dqdsupport.py293 f.docstring = lambda: """(int start, int size) -> string. Return bytes from the bitmap"""
310 f.docstring = lambda: """(int start, string data). Store bytes into the bitmap"""
343 f.docstring = lambda: """Take (string, int, Rect) argument and create BitMap"""
371 f.docstring = lambda: """Take string BitMap and turn into BitMap object"""
/external/tensorflow/tensorflow/python/util/
Ddecorator_utils.py35 def _normalize_docstring(docstring): argument
50 if not docstring:
54 lines = docstring.expandtabs().splitlines()
/external/python/cpython2/Mac/Modules/cf/
Dcfsupport.py568 f.docstring = lambda: "() -> (string _rv)"
586 f.docstring = lambda: "() -> (unicode _rv)"
599 f.docstring = lambda: "() -> (string _rv)"
625 f.docstring = lambda: "(CFOptionFlags mutabilityOption) -> (CFTypeRefObj)"
635 f.docstring = lambda: "() -> (python_object)"
659 f.docstring = lambda: "(python_object) -> (CF_object)"
/external/python/cpython2/Mac/Modules/carbonevt/
DCarbonEvtsupport.py247 f.docstring = lambda: "() -> None"
271 f.docstring = lambda: "(EventTypeSpec inSpec, Method callback) -> (EventHandlerRef outRef)"
307 f.docstring = lambda: "(EventParamName eventName, EventParamType eventType) -> (String eventParamDa…
/external/python/cpython3/Lib/test/
Dtest_clinic.py378 """.strip(), function.docstring)
402 """.strip(), function.docstring)
411 … self.assertEqual("stat($module, /, path)\n--\n\nThis/used to break Clinic!", function.docstring)
458 self.assertEqual(function.docstring.strip(), """
519 self.assertEqual(function.docstring.strip(), """
641 self.assertEqual("bar($module, /)\n--\n\nDocstring", function.docstring)
654 self.assertEqual("Bar()\n--\n\nDocstring", function.docstring)
757 """.strip(), function.docstring)
/external/tensorflow/tensorflow/tools/docs/
Dpretty_docs.py75 parts.append(page_info.doc.docstring)
115 parts.append(page_info.doc.docstring)
143 parts.append(prop_info.doc.docstring)
192 parts.append(method_info.doc.docstring)
212 parts.append(page_info.doc.docstring)
Dparser.py532 def _parse_function_details(docstring): argument
578 parts = tag_re.split(docstring)
581 docstring = parts[0]
596 return docstring, function_details
639 docstring, compatibility = _handle_compatibility(raw_docstring)
640 docstring, function_details = _parse_function_details(docstring)
642 if 'Generated by: tensorflow/tools/api/generator' in docstring:
643 docstring = ''
646 docstring.split('\n')[0], docstring, function_details, compatibility)
1124 if re.match('Alias for field number [0-9]+', doc.docstring):
[all …]
Dparser_test.py524 self.assertNotIn('@', doc_info.docstring)
525 self.assertNotIn('compatibility', doc_info.docstring)
526 self.assertNotIn('Raises:', doc_info.docstring)
733 docstring, function_details = parser._parse_function_details(RELU_DOC)
748 self.assertEqual(docstring, relu_doc_lines[0] + '\n\n')
753 docstring + ''.join(str(detail) for detail in function_details))
/external/python/cpython2/Tools/bgen/bgen/
DbgenGenerator.py67 docstring = self.docstring()
72 Output(" PyDoc_STR(%s)},", stringify(docstring))
76 def docstring(self): member in BaseFunctionGenerator
145 def docstring(self): member in FunctionGenerator
/external/tensorflow/tensorflow/python/data/util/
Doptions_test.py29 docstring="the answer to everything",
32 name="y", ty=float, docstring="a tasty pie", default_factory=lambda: 3.14)
37 name="opts", ty=_TestOptions, docstring="nested options")
Doptions.py59 def create_option(name, ty, docstring, default_factory=lambda: None): argument
86 return property(get_fn, set_fn, None, docstring)
/external/python/cpython2/Mac/Modules/file/
Dfilesupport.py849 f.docstring = lambda: "() -> string"
859 f.docstring = lambda: "() -> string"
877 f.docstring = lambda: "() -> string"
888 f.docstring = lambda: "() -> (vRefNum, dirID, name)"
906 f.docstring = lambda: "(str|unicode|FSSpec|FSref) -> pathname"
/external/python/cpython3/Lib/
Ddoctest.py521 def __init__(self, examples, globs, name, filename, lineno, docstring): argument
529 self.docstring = docstring
551 self.docstring == other.docstring and \
558 return hash((self.docstring, self.name, self.filename, self.lineno))
1039 docstring = obj
1043 docstring = ''
1045 docstring = obj.__doc__
1046 if not isinstance(docstring, str):
1047 docstring = str(docstring)
1049 docstring = ''
[all …]
/external/python/cpython2/Mac/Modules/qdoffs/
Dqdoffssupport.py109 f.docstring = lambda: """(pixmap, int start, int size) -> string. Return bytes from the pixmap"""
127 f.docstring = lambda: """(pixmap, int start, string data). Store bytes into the pixmap"""
/external/python/cpython3/Tools/clinic/
Dclinic.py620 for line in f.docstring.split('\n'):
685 if new_or_init and not f.docstring:
2076 docstring=None, kind=CALLABLE, coexist=False, argument
2087 self.docstring = docstring or ''
2134 'docstring': self.docstring, 'kind': self.kind, 'coexist': self.coexist,
2155 docstring=None, group=0): argument
2162 self.docstring = docstring or ''
2178 'docstring': self.docstring, 'group': self.group,
3513 …me=function_name, full_name=full_name, module=module, cls=cls, c_basename=c_basename, docstring='')
4004 new_docstring = last_parameter.docstring
[all …]
/external/python/cpython2/Demo/parser/
DREADME13 docstring.py -- sample source file containing only a module docstring.
/external/python/cpython2/Lib/
Ddoctest.py523 def __init__(self, examples, globs, name, filename, lineno, docstring): argument
531 self.docstring = docstring
552 self.docstring == other.docstring and \
562 return hash((self.docstring, self.name, self.filename, self.lineno))
1025 docstring = obj
1029 docstring = ''
1031 docstring = obj.__doc__
1032 if not isinstance(docstring, basestring):
1033 docstring = str(docstring)
1035 docstring = ''
[all …]
/external/python/cpython2/Mac/Modules/list/
Dlistsupport.py187 f.docstring = lambda: "(Resource)->List.\nReturns List object (which is not auto-freed!)"
244 f.docstring = lambda: "(Rect rView, Rect dataBounds, Point cellSize, ListDefSpec theSpec, WindowPtr…

12345678