code: def encode(self, x):
      h = self.encoder(x)
      return self.enc_mu(h), self.enc_logvar(h)
  
file_path: cornac/cornac/models/vaecf/vaecf.py
imports: import numpy
  import torch
  import torch.nn
  import torch.nn.functional
  from tqdm.auto import trange
  from ...utils import estimate_batches
label_desc: Use image node_id 2 for calling the VAE obj's underlying member method code with example usage: obj.encode(x) and returns: self,  self