code: def forward(self, x):
      x = self.flatten(x)
      out = self.linear_relu_stack(x)
      out = sigmoid(out)
      if not self.is_classifier:
          out = 3 * out  # output between 0 and 3
      return out
  
file_path: DiCE/dice_ml/utils/neuralnetworks.py
imports: from torch import nn, sigmoid
label_desc: Use image node_id 2 for calling the FFNetwork obj's underlying member method code with example usage: obj.forward(x) and returns: out