class_docstr: 1D convolution with Gated mechanism, see the Wavenet papers described
  above.
  
  Parameters
  ----------
  inner_channels
      The dimensionality of the intermediate space
  
  out_channels
      The dimensionality of the output space
  
  kernel_size
      Specifies the dimensions of the convolution window.
  
  dilation
      Specifies the dilation rate to use for dilated convolution.
class_docstr_tok: ["1D","convolution","with","Gated","mechanism",",","see","the","Wavenet","papers","described","above",".","Parameters","--","--","--","--","--","inner_channels","The","dimensionality","of","the","intermediate","space","out_channels","The","dimensionality","of","the","output","space","kernel_size","Specifies","the","dimensions","of","the","convolution","window",".","dilation","Specifies","the","dilation","rate","to","use","for","dilated","convolution","."]
code: def __init__(
      self,
      inner_channels: int,
      out_channels: int,
      kernel_size: Union[int, Tuple[int], List[int]],
      dilation: Union[int, Tuple[int], List[int]],
      **kwargs,
  ) -> None:
      super().__init__(**kwargs)
      with self.name_scope():
          self.conv1 = CausalConv1D(
              channels=inner_channels,
              kernel_size=kernel_size,
              dilation=dilation,
              activation="tanh",
          )
          self.conv2 = CausalConv1D(
              channels=inner_channels,
              kernel_size=kernel_size,
              dilation=dilation,
              activation="sigmoid",
          )
          self.output_conv = gluon.nn.Conv1D(
              channels=out_channels, kernel_size=1
          )
  
file_path: gluonts/src/gluonts/mx/block/cnn.py
imports: from typing import List, Optional, Tuple, Union
  from mxnet import gluon
  from mxnet.gluon import nn
  from gluonts.mx import Tensor
label_desc: Use image node_id 1 to create a new DilatedCausalGated object from inherited base classes: gluon with example: obj = DilatedCausalGated(inner_channels, out_channels, kernel_size, dilation)