class_docstr: Autoencoder Encoder model.
code: def forward(self, x):
      x = F.relu(self.enconv1(x))
      x = F.relu(self.enconv2(x))
      x = F.relu(self.enconv3(x))
      x = F.relu(self.enconv4(x))
      x = F.relu(self.enconv5(x))
      x = self.enconv6(x)
      return x
  
imports: from __future__ import annotations
  import logging
  import random
  from enum import Enum
  import torch
  import torch.nn.functional
  from torch import Tensor, nn
  from torchvision import transforms
label_desc: Use image node_id 2 for calling the Encoder obj's underlying member method code with example usage: obj.forward(x) and returns: x