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

Function _docstring_generator_class

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

Source from the content-addressed store, hash-verified

289
290
291def _docstring_generator_class(schema_name, api="ops", args=None):
292 schema = _b.GetSchema(schema_name)
293 ret = _docstring_generator_main(schema_name, api)
294 if schema.IsDocPartiallyHidden():
295 return ret
296 ret += """
297Keyword args
298------------
299"""
300 ret += _get_kwargs(schema, api=api, args=args)
301 return ret
302
303
304def _supported_layouts_str(supported_layouts):

Callers

nothing calls this directly

Calls 3

_get_kwargsFunction · 0.85
IsDocPartiallyHiddenMethod · 0.80

Tested by

no test coverage detected