(formatter, schema)
| 53 | self.addRaw("</table>") |
| 54 | |
| 55 | def getCodeLink(formatter, schema): |
| 56 | formatter = formatter.clone() |
| 57 | path = os.path.relpath(schema.file, "caffe2") |
| 58 | schemaLink = ('https://github.com/pytorch/pytorch/blob/main/{path}' |
| 59 | .format(path=path)) |
| 60 | formatter.addLink('{path}'.format(path=path), schemaLink) |
| 61 | return formatter.dump() |
| 62 | |
| 63 | |
| 64 | class GHOperatorEngine(OperatorEngine): |
no test coverage detected
searching dependent graphs…