class_docstr: Deprecated class only for compatibility; use RNNEncoder instead.
class_docstr_tok: ["Deprecated","class","only","for","compatibility",";","use","RNNEncoder","instead","."]
code: def __init__(
      self,
      use_static_feat: bool = True,
      use_dynamic_feat: bool = True,
      **kwargs,
  ) -> None:
      super().__init__(
          use_static_feat=use_static_feat,
          use_dynamic_feat=use_dynamic_feat,
          **kwargs,
      )
  
imports: from typing import List, Tuple
  from mxnet.gluon import nn
  from gluonts.core.component import validated
  from gluonts.mx import Tensor
  from gluonts.mx.block.cnn import CausalConv1D
  from gluonts.mx.block.mlp import MLP
  from gluonts.mx.block.rnn import RNN
label_desc: Use image node_id 1 to create a new RNNCovariateEncoder object from inherited base classes: RNNEncoder with example: obj = RNNCovariateEncoder(use_static_feat, use_dynamic_feat)