update_TypeError

 

TypeError: 
(
	'An update must have the same type as the original shared variable (
			shared_var=W, shared_var.type=TensorType(float32,matrix), 	
              update_val=Elemwise{sub,no_inplace}.0, update_val.type=TensorType(float64, matrix)).', 'If the difference is related to the broadcast pattern, you can call the tensor.unbroadcast(var, axis_to_unbroadcast[, ...]) function to remove broadcastable dimensions.' )
posted @ 2016-04-19 10:30  视觉书虫  阅读(415)  评论(0编辑  收藏  举报