MCPcopy Create free account
hub / github.com/pytorch/executorch / _section_header

Function _section_header

backends/mlx/serialization/generate.py:128–131  ·  view source on GitHub ↗

Generate a section-header banner for generated output.

(comment: str, title: str)

Source from the content-addressed store, hash-verified

126
127
128def _section_header(comment: str, title: str) -> List[str]:
129 """Generate a section-header banner for generated output."""
130 sep = f"{comment} {'=' * 76}"
131 return [sep, f"{comment} {title}", sep, ""]
132
133
134def _file_header(comment: str, description: str = "") -> List[str]:

Callers 1

generate_python_schemaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected