MCPcopy Create free account
hub / github.com/pytorch/executorch / to_native_string

Method to_native_string

codegen/model.py:128–136  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

126 return kernel_keys
127
128 def to_native_string(self) -> str:
129 if self.default:
130 return "default"
131 return (
132 "v"
133 + str(KERNEL_KEY_VERSION)
134 + "/"
135 + "|".join([arg.to_native_string() for arg in self.arg_meta])
136 )
137
138
139@dataclass(frozen=True)

Callers 2

__call__Method · 0.45
key_funcFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected