code: def forward(self, x):
      if self.inplace:
          x.mul_(torch.sigmoid(x))
          return x
      else:
          return x * torch.sigmoid(x)
  
imports: import torch.nn
  import torch
  import math
label_desc: Use image node_id 2 for calling the Swish obj's underlying member method code with example usage: obj.forward(x) and returns: x, unknown