code: def get_config(self):
      # get model configs
      self.feature_num = self.cfg.MODEL.feature_num
      self.feature_names = self.cfg.MODEL.feature_names
      self.feature_dims = self.cfg.MODEL.feature_dims
      self.num_classes = self.cfg.MODEL.num_classes
      self.embedding_size = self.cfg.MODEL.embedding_size
      self.lstm_size = self.cfg.MODEL.lstm_size
      self.drop_rate = self.cfg.MODEL.drop_rate
  
      # get mode configs
      self.batch_size = self.get_config_from_sec(
          self.mode, "batch_size", 1
      )
      self.num_gpus = self.get_config_from_sec(self.mode, "num_gpus", 1)
  
file_path: PaddleHub/modules/video/classification/videotag_tsn_lstm/resource/models/attention_lstm/attention_lstm.py
imports: import logging
  import paddle.fluid
  from paddle.fluid import ParamAttr
  from ..model import ModelBase
  from .lstm_attention import LSTMAttentionModel
label_desc: Use image node_id 2 for calling the AttentionLSTM obj's underlying member method code with example usage: obj.get_config() without return types