Open seanlatias opened 3 years ago
We should add support for the following features.
A = hcl.placeholder((10,)) B = A[2:5].copy() # equivalent API B = hcl.compute((3,), lambda x: A[x+2])
A = hcl.placeholder((10,)) A[2:5] = [1, 2, 3] A[2:5] = 4 # broadcast
A = hcl.placeholder((10, 10)) B = A[2:5] B[0] = 1 hcl.print(A[2]) # returns 1
We should add support for the following features.