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

Method generateDoc

caffe2/python/docs/generator.py:111–116  ·  view source on GitHub ↗
(self, formatter)

Source from the content-addressed store, hash-verified

109 return deviceImplList
110
111 def generateDoc(self, formatter):
112 for device, impl in self.getDeviceImpl():
113 formatter.addLine(
114 '{engine} on {device}: {impl}'.format(engine=self.engine,
115 device=device,
116 impl=impl))
117
118
119class OperatorDoc:

Callers

nothing calls this directly

Calls 3

getDeviceImplMethod · 0.95
addLineMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected