Probability estimation in pymc3

Thanks so much for your reply.
I’m also confused about the shape of the test set when use theano.shared.I try to make the test set the same shape of the training set with np.tail function and it works.
X_shared.set_value(np.tile(X_test,(math.ceil(len(y_train)/len(y_test)),1))[:len(y_train),:])
I’m wondering if there is a better way to fix this problem?