code: def forward(self, x):
      # Performs first block forward step
      x = self.conv.forward(x)
  
      # Flattening tensor
      x = x.view(-1, 8)
      return self.fc.forward(x)
  
file_path: opytimizer/examples/integrations/pytorch/cnn.py
imports: import numpy
  import torch
  from sklearn.datasets import load_digits
  from sklearn.model_selection import train_test_split
  from torch import optim
  from torch.autograd import Variable
  from opytimizer import Opytimizer
  from opytimizer.core import Function
  from opytimizer.optimizers.swarm import PSO
  from opytimizer.spaces import SearchSpace
label_desc: Use image node_id 2 for calling the CNN obj's underlying member method code with example usage: obj.forward(x) and returns: self