Skip to content

Commit

Permalink
fix tiling of norm (#3329)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyiming committed Feb 16, 2023
1 parent b008a2a commit 1863382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mars/tensor/linalg/norm.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def tile(cls, op):
)

r = yield from recursive_tile(
cls._norm(x.astype(op.outputs[0].dtype), ord, axis, keepdims)
cls._norm(x.astype(op.outputs[0].dtype, copy=False), ord, axis, keepdims)
)
new_op = op.copy()
return new_op.new_tensors(
Expand Down

0 comments on commit 1863382

Please sign in to comment.