We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.reshape()
The .reshape() primitive operates on the schedule, and should directly generate new memref for tensors.
memref
def test_index_split_reshape(): hcl.init() A = hcl.placeholder((10, 10), "A") B = hcl.compute(A.shape, lambda y, x: A[y][x], "B") s = hcl.create_schedule([A, B]) s[B].split(B.axis[0], 5) s.reshape(B, (2, 5, 10))
The text was updated successfully, but these errors were encountered:
de9b771
chhzh123
No branches or pull requests
The
.reshape()
primitive operates on the schedule, and should directly generate newmemref
for tensors.The text was updated successfully, but these errors were encountered: