Home
last modified time | relevance | path

Searched refs:doc_string (Results 1 – 22 of 22) sorted by relevance

/aosp_15_r20/external/pytorch/torch/
H A Dcustom_class.h77 std::string doc_string = "")
81 std::move(doc_string), in class_base() argument
92 std::string doc_string = "",
105 std::move(doc_string),
114 std::string doc_string = "",
128 std::move(doc_string),
156 std::string doc_string = "",
162 std::move(doc_string),
169 class_& def_static(std::string name, Func func, std::string doc_string = "") {
184 std::move(doc_string));
[all …]
H A Dcustom_class_detail.h205 std::string doc_string,
/aosp_15_r20/external/bazelbuild-rules_python/sphinxdocs/private/
H A Dproto_to_markdown.py145 self._write(aspect.doc_string.strip(), "\n\n")
154 self._write(mod_ext.doc_string.strip(), "\n\n")
169 self._write(tag.doc_string.strip(), "\n\n")
183 self._write(repo_rule.doc_string.strip(), "\n\n")
200 self._write(rule.doc_string.strip(), "\n\n")
250 self._write(func.doc_string.strip(), "\n\n")
258 if param.doc_string:
259 self._write(" ", _indent_block_text(param.doc_string), "\n")
264 if return_doc := getattr(func, "return").doc_string:
267 if func.deprecated.doc_string:
[all …]
/aosp_15_r20/external/stardoc/stardoc/proto/
H A Dstardoc_output.proto70 string doc_string = 2; field
86 string doc_string = 2; field
125 string doc_string = 3; field
141 string doc_string = 2; field
156 string doc_string = 1; field
162 string doc_string = 1; field
172 string doc_string = 2; field
181 string doc_string = 2; field
193 string doc_string = 2; field
/aosp_15_r20/external/tensorflow/tensorflow/python/distribute/experimental/rpc/
H A Drpc_ops.py363 doc_string = "RPC Call for " + m.method + " method to server " + address
365 doc_string)
368 doc_string): argument
402 call_wrapper.__doc__ = doc_string
406 call_blocking_wrapper.__doc__ = doc_string
/aosp_15_r20/external/pytorch/aten/src/ATen/core/
H A Dbuiltin_function.h17 std::string doc_string = "")
21 doc_string_(std::move(doc_string)) { in name_()
25 c10::string_view doc_string() const override { in doc_string() function
H A Dclass_type.cpp474 std::string doc_string, in create() argument
480 std::move(doc_string), in create()
488 std::string doc_string, in ClassType() argument
493 doc_string_(std::move(doc_string)), in ClassType()
H A Dclass_type.h80 std::string doc_string = "",
276 const std::string& doc_string() const { in doc_string() function
390 std::string doc_string = "",
H A Dcustom_class.cpp124 std::string doc_string, in class_base() argument
133 std::move(doc_string))) { in class_base()
H A Dfunction.h45 virtual c10::string_view doc_string() const { in doc_string() function
/aosp_15_r20/external/pytorch/torch/onnx/_internal/exporter/
H A D_tensors.py19 doc_string: str | None = None,
26 doc_string=doc_string,
/aosp_15_r20/external/pytorch/test/cpp/jit/
H A Dtest_custom_class.cpp98 AT_ASSERT(class_type->doc_string() == class_doc_string); in TEST()
100 AT_ASSERT(class_type->getMethod("get").doc_string().empty()); in TEST()
102 class_type->getMethod("get_with_docstring").doc_string() == in TEST()
/aosp_15_r20/external/pytorch/torch/utils/data/datapipes/
H A Dgen_pyi.py238 doc_string = "".join(methods_and_doc_strings[method_name])
239 if doc_string == "":
240 doc_string = " ...\n"
/aosp_15_r20/external/pytorch/test/expect/
H A DTestPytorchExportModes.test_onnx_aten.expect4 doc_string: ""
H A DTestPytorchExportModes.test_aten_fallback.expect4 doc_string: ""
H A DTestScript.test_listconstruct_erasure.expect4 doc_string: ""
/aosp_15_r20/external/pytorch/torch/csrc/jit/python/
H A Dpython_custom_class.cpp72 return self.class_type_.type_->expectRef<ClassType>().doc_string(); in initPythonCustomClassBindings()
H A Dscript_init.cpp1535 return self.function_->doc_string(); in initJitScriptBindings()
/aosp_15_r20/external/bazelbuild-rules_rust/rust/private/
H A Dutils.bzl393 def dedent(doc_string):
400 doc_string (str): A docstring style string
405 lines = doc_string.splitlines()
407 return doc_string
419 return doc_string
/aosp_15_r20/external/pytorch/torch/masked/
H A D_ops.py37 doc_string = getattr(_docs, f"{func.__name__}_docstring", None)
38 if doc_string is None:
45 func.__doc__ = doc_string
/aosp_15_r20/external/mesa3d/src/compiler/glsl/tests/
H A Dlower_jump_cases.py416 doc_string = """If one branch of an if ends in a jump, and control cannot
/aosp_15_r20/external/pytorch/torch/csrc/jit/serialization/
H A Donnx.cpp218 << nlidt(indent + 1) << "doc_string: \"" << model.doc_string() << "\""; in dump()