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

Method addList

caffe2/python/docs/formatter.py:75–78  ·  view source on GitHub ↗
(self, textList)

Source from the content-addressed store, hash-verified

73 self.addRaw("{stars}{text}{stars}".format(stars=s * '*', text=text))
74
75 def addList(self, textList):
76 for text in textList:
77 self.addLine("- {text}".format(text=text), True)
78 self.addLinebreak()
79
80 def addLink(self, text, url):
81 self.addRaw("[{text}]({url})".format(text=text, url=url))

Callers 1

generateDevicesMethod · 0.45

Calls 3

addLineMethod · 0.95
addLinebreakMethod · 0.95
formatMethod · 0.45

Tested by

no test coverage detected