(self, input_)
return mu, std, logvar
Encode the passed `input_`.
Encode the passed `input_`.
Encode the passed input_ .
def forward(self, input_):
        """Encode the passed `input_`."""
        feature = self.seq(input_)
        mu = self.fc1(feature)
        logvar = self.fc2(feature)
        std = torch.exp(0.5 * logvar)
        return mu, std, logvar
def forward ( self , input_ ) : feature = self . seq ( input_ ) mu = self . fc1 ( feature ) logvar = self . fc2 ( feature ) std = torch . exp ( 0.5 * logvar ) return mu , std , logvar