MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / generate_constructors

Method generate_constructors

tools/api.py:643–645  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

641 return '\n '.join([m.generate_method() for m in self.methods])
642
643 def generate_constructors(self) -> str:
644 return '\n '.join(
645 [m.generate_constructor(self.name) for m in self.constructors])
646
647 def substitute(self, s: Union[string.Template, str], **kwargs) -> str:
648 t = string.Template(s) if isinstance(s, str) else s

Callers 1

generateMethod · 0.95

Calls 1

generate_constructorMethod · 0.80

Tested by

no test coverage detected