Closed. This question needs to be more focused。它当前不接受答案。
                            
                        
                    
                
                            
                                
                
                        
                            
                        
                    
                        
                            想改善这个问题吗?更新问题,使其仅通过editing this post专注于一个问题。
                        
                        5年前关闭。
                                                                                            
                
        
我们如何看到z值,它是x(数据集)的重构

请查看链接:http://deeplearning.net/tutorial/dA.html

最佳答案

函数“ get_reconstructed_input”将返回一个Theano变量,该变量从隐藏的表示形式表示z。检查函数“ get_cost_updates”,它使用它来训练模型。

   tilde_x = self.get_corrupted_input(self.x, corruption_level)
   y = self.get_hidden_values( tilde_x)
   z = self.get_reconstructed_input(y)


如果您不想训练模型,可以这样做:

   y = self.get_hidden_values(self.x)
   z = self.get_reconstructed_input(y)


要制作可执行函数来计算此内容:

f = theano.function([x], z)

10-07 13:05