MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / get_subtools

Method get_subtools

tools/Polygraphy/polygraphy/tools/base/tool.py:112–121  ·  view source on GitHub ↗

Returns the subtools of this tool. Returns: Tuple[str, List[Tool]]: A tuple containing the title to use for the subtools and a list of subtools.

(self)

Source from the content-addressed store, hash-verified

110 return "", []
111
112 def get_subtools(self):
113 """
114 Returns the subtools of this tool.
115
116 Returns:
117 Tuple[str, List[Tool]]:
118 A tuple containing the title to use for the subtools
119 and a list of subtools.
120 """
121 return self.get_subtools_impl()
122
123 # Implementation for `add_parser_args`. This should be implemented by child classes instead of `add_parser_args`
124 def add_parser_args_impl(self, parser):

Callers 1

add_parser_argsMethod · 0.95

Calls 1

get_subtools_implMethod · 0.95

Tested by

no test coverage detected