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

Function update_features_impl

backends/vulkan/op_registry.py:134–137  ·  view source on GitHub ↗
(op: OpKey)

Source from the content-addressed store, hash-verified

132def update_features(aten_op):
133 def features_decorator(fn: Callable):
134 def update_features_impl(op: OpKey):
135 if op in vulkan_supported_ops:
136 raise RuntimeError(f"[Vulkan delegate] duplicate registration of {op}!")
137 vulkan_supported_ops[op] = fn()
138
139 if isinstance(aten_op, list):
140 for op in aten_op:

Callers 1

features_decoratorFunction · 0.85

Calls 1

fnFunction · 0.85

Tested by

no test coverage detected