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

Method remove_generic

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

Source from the content-addressed store, hash-verified

86 return None
87
88 def remove_generic(self) -> 'Type':
89 i = self.name.find('<')
90 j = self.name.rfind('>')
91 if i > 0 and j > 0:
92 return Type(self.name[0:i] + self.name[j + 1:])
93 else:
94 return self
95
96 def remove_pointer(self) -> 'Type':
97 if self.is_pointer():

Callers 3

updateMethod · 0.80
virtual_output_argsMethod · 0.80

Calls 2

TypeClass · 0.85
findMethod · 0.45

Tested by

no test coverage detected