Skip to content

Commit 82991b5

Browse files
committed
up
1 parent 0b68c70 commit 82991b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backends/apple/coreml/compiler/torch_ops.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ def split_copy(context, node):
5252
# which was missed by coremltools
5353
@register_torch_op(torch_alias=["dim_order_ops._to_dim_order_copy"], override=False)
5454
def _to_dim_order_copy_TMP_EXECUTORCH_ALIAS_HACK(context, node):
55-
return _to_dim_order_copy(context, node)
55+
_to_dim_order_copy(context, node)
5656

5757

5858
# This is a temporary hack to register the alias "dim_order_ops._empty_dim_order",
5959
# which was missed by coremltools
6060
@register_torch_op(torch_alias=["dim_order_ops._empty_dim_order"], override=False)
6161
def _empty_dim_order_TMP_EXECUTORCH_ALIAS_HACK(context, node):
62-
return _empty_dim_order(context, node)
62+
_empty_dim_order(context, node)
6363

6464

6565
# https://github.com/apple/coremltools/pull/2558

0 commit comments

Comments
 (0)