code: def extract_embed(node_embed, input_nodes):
      emb = node_embed(
          {
              ntype: input_nodes[ntype]
              for ntype in input_nodes
              if ntype != "paper"
          }
      )
      return emb
  
imports: import argparse
  import itertools
  import sys
  import time
  import dgl
  import dgl.graphbolt
  import dgl.nn
  import psutil
  import torch
  import torch.nn
  import torch.nn.functional
  from dgl.nn import HeteroEmbedding
  from ogb.lsc import MAG240MEvaluator
  from ogb.nodeproppred import Evaluator
  from tqdm import tqdm
label_desc: Use image node_id 3 for calling a global function with example usage: extract_embed(node_embed, input_nodes) and returns: emb