How can I use a theano tensor variable as a shape value

It seems that edward support this,I’m trying.Thank you