Skip to content

Commit a7c3005

Browse files
committed
up
1 parent bcbda44 commit a7c3005

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

backends/apple/coreml/compiler/torch_ops.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# coremltools than is used by ExecuTorch. Each op registered here should have a link to a PR in coremltools that adds
99
# the op to the coremltools library.
1010

11-
from coremltools.converters.mil.frontend.torch.ops import transpose
11+
from coremltools.converters.mil.frontend.torch.ops import transpose, unbind
1212
from coremltools.converters.mil.frontend.torch.torch_op_registry import (
1313
register_torch_op,
1414
)
@@ -18,3 +18,8 @@
1818
@register_torch_op(override=False)
1919
def transpose_copy(context, node):
2020
transpose(context, node)
21+
22+
# https://github.com/apple/coremltools/pull/2557
23+
@register_torch_op(override=False)
24+
def unbind_copy(context, node):
25+
unbind(context, node)

0 commit comments

Comments
 (0)