Nominal predictor to be used in regression

@junpenglao, I see so, something like

from theano import shared
x_1 = shared(train.content_id)

and then x_1.set_value(test.content_id) to draw from the posterior and everything will work as expected with the new category.

How do I access the size of the vector in the underlying tensor though?