code: def embed(X, we):
      e = tf.gather(we, X)
      h = tf.reduce_sum(input_tensor=e, axis=2)
      return h
  
file_path: finetune/finetune/base_models/gpt2/featurizer.py
imports: import functools
  import tensorflow
  from finetune.util.shapes import shape_list, lengths_from_eos_idx
  from finetune.optimizers.recompute_grads import recompute_grad
  from finetune.nn.activations import gelu
  from finetune.base_models.gpt.featurizer import norm, dropout, get_pos_values
label_desc: Use image node_id 12 for calling a global function with example usage: embed(X, we) and returns: h