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

Method addLink

caffe2/python/docs/formatter.py:80–81  ·  view source on GitHub ↗
(self, text, url)

Source from the content-addressed store, hash-verified

78 self.addLinebreak()
79
80 def addLink(self, text, url):
81 self.addRaw("[{text}]({url})".format(text=text, url=url))
82
83 def addCodeLink(self, path, options=None):
84 self.addRaw("({path})".format(path=path))

Callers 2

getCodeLinkFunction · 0.45
ParserClass · 0.45

Calls 2

addRawMethod · 0.95
formatMethod · 0.45

Tested by

no test coverage detected