Hi everyone, I have a te case like the following:
n = te.var("n")
m = te.var("m")
A = te.placeholder((n, m), name="A")
C = topi.sum(A, axis=1)
I need to update attrs of the ComputeOp (C
) after creating it, like this:
...
C = topi.sum(A, axis=1)
C.op.attrs.update(python dict)
How can this be achieved?