Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/pytorch
/ addHeader
Method
addHeader
caffe2/python/docs/github.py:23–24 ·
view source on GitHub ↗
(self, text, h=1)
Source
from the content-addressed store, hash-verified
21
22
class
GHMarkdown(Markdown):
23
def
addHeader(self, text, h=1):
24
self.addLine(
"\n{header} {text}\n"
.format(header=h *
'#'
, text=text), True)
25
26
def
addDocHeader(self):
27
self.addLine(
"---"
)
Callers
7
generateCodeLink
Method · 0.45
generateSchema
Method · 0.45
generateTable
Method · 0.45
generateCodeLink
Method · 0.45
generateDevices
Method · 0.45
generateEngines
Method · 0.45
generateSchema
Method · 0.45
Calls
2
addLine
Method · 0.45
format
Method · 0.45
Tested by
no test coverage detected