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

Method const_compatible

tools/api.py:121–124  ·  view source on GitHub ↗
(self, t: 'Type')

Source from the content-addressed store, hash-verified

119 return t.remove_const()
120
121 def const_compatible(self, t: 'Type'):
122 if t.is_const():
123 return self.add_const()
124 return self
125
126 def str(self) -> str:
127 return self.name

Callers

nothing calls this directly

Calls 2

add_constMethod · 0.95
is_constMethod · 0.80

Tested by

no test coverage detected