MCPcopy Create free account
hub / github.com/pytorch/pytorch / _format_line

Method _format_line

torch/_python_dispatcher.py:118–119  ·  view source on GitHub ↗
(self, key, kernel)

Source from the content-addressed store, hash-verified

116 """
117
118 def _format_line(self, key, kernel):
119 return f"{key:<15} {kernel}\n"
120
121 """
122 Helper function to print a table header.

Callers 3

_format_headerMethod · 0.95
registrationsMethod · 0.95
dispatchTableMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected