fix bug in discrete_net.py (#10)
This commit is contained in:
		
							parent
							
								
									04208e6cce
								
							
						
					
					
						commit
						98feb79057
					
				@ -34,7 +34,7 @@ class Actor(nn.Module):
 | 
			
		||||
 | 
			
		||||
    def forward(self, s, state=None, info={}):
 | 
			
		||||
        logits, h = self.preprocess(s, state)
 | 
			
		||||
        logits = F.softmax(logits, dim=-1)
 | 
			
		||||
        logits = F.softmax(self.last(logits), dim=-1)
 | 
			
		||||
        return logits, h
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user