Thank, it looks like this should work just like tensorflow, but it doesn’t. I have
x_logit = np.tensordot(X, beta, [[1], [0]])
where X has shape (1000, 9), and beta has shape (9, ), this line crashes with
if as_[axes_a[k]] != bs[axes_b[k]]:
IndexError: tuple index out of range
Then I changed to x_logit = tt.tensordot(X, beta, [[1], [0]])
now I get x_logit shape TensorVariable: Shape.0
I am of course expecting (1000,)
why doesn’t this work?