code: def __init__(self, embedding: ABCEmbedding, hidden_size: int = 1024):
      super(GRUEncoder, self).__init__()
      self.embedding = embedding
      self.hidden_size = hidden_size
      self.gru = tf.keras.layers.GRU(
          hidden_size,
          return_sequences=True,
          return_state=True,
          recurrent_initializer="glorot_uniform",
      )
  
file_path: Kashgari/kashgari/tasks/seq2seq/encoder/gru_encoder.py
imports: import numpy
  import tensorflow
  from kashgari.embeddings.abc_embedding import ABCEmbedding
  from kashgari.layers import L
label_desc: Use image node_id 1 to create a new GRUEncoder object from inherited base classes: tf.keras with example: obj = GRUEncoder(embedding, hidden_size)