Commit 0a9029f8 authored by PanZezhong's avatar PanZezhong
Browse files

issue/82 重构tensor 修改utils

parent 9874946c
......@@ -117,7 +117,7 @@ def test(
# Invalidate the shape and strides in the descriptor to prevent them from being directly used by the kernel
for tensor in [a_tensor, b_tensor, c_tensor]:
tensor.descriptor.contents.invalidate()
tensor.destroyDesc(lib)
# Get workspace size and create workspace
workspace_size = c_uint64(0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment