class_docstr: Swish activation by google https://arxiv.org/pdf/1710.05941v1.pdf
  y = \sigma(x) * x
class_docstr_tok: ["Swish","activation","by","google","https",":","\/\/arxiv.org\/pdf\/1710.05941v1.pdf","y","=","\\sigma","(","x",")","*","x"]
code: def forward(self, x: Tensor) -> Tensor:
      super(Swish, self).forward(x) * x
  
file_path: gluonts/src/gluonts/nursery/daf/tslib/nn/activations.py
imports: from typing import List
  import math
  import torch
  from torch import Tensor, nn
label_desc: Use image node_id 1 for calling the Swish obj's underlying member method code with example usage: obj.forward(x) without return types