MCPcopy Create free account
hub / github.com/NVIDIA/DALI / _docstring_generator_fn

Function _docstring_generator_fn

dali/python/nvidia/dali/ops/_docs.py:386–397  ·  view source on GitHub ↗
(schema_name, api="fn", args=None)

Source from the content-addressed store, hash-verified

384
385
386def _docstring_generator_fn(schema_name, api="fn", args=None):
387 schema = _b.GetSchema(schema_name)
388 ret = _docstring_generator_main(schema_name, api)
389 if schema.IsDocPartiallyHidden():
390 return ret
391 ret += _get_inputs_doc(schema, api)
392 ret += """
393Keyword args
394------------
395"""
396 ret += _get_kwargs(schema, api, args)
397 return ret

Callers

nothing calls this directly

Calls 4

_get_inputs_docFunction · 0.85
_get_kwargsFunction · 0.85
IsDocPartiallyHiddenMethod · 0.80

Tested by

no test coverage detected