how to expand variables in tensorflow to a higher dimension?

时间:2017-07-30 11:49:53

标签: python-3.x tensorflow nlp deep-learning

I have defined a weight matrix w,and the matrix is in shape [1, 500], but I want to copy w to new variable w1 in shape [100, 1, 500]. in w1, the 100 matrix in shape [1, 500] are all value-equal and they can change its value at the same time when running Back-propagation algorithm, how can I do with that?

0 个答案:

没有答案