As per @Divakar s comment, change it to
x[:,:,None] * y[:,None,:]
Just posting it as an answer so that people know there's an answer to this.