code: def entity_setseed(seed):
      random.seed(seed)
      torch.manual_seed(seed)
      if torch.cuda.is_available():
          torch.cuda.manual_seed_all(seed)
  
imports: import json
  import argparse
  import os
  import sys
  import random
  import logging
  import time
  from tqdm import tqdm
  import numpy
  from models.const import *
  from models.data_structures import *
  from models.entityModels import *
  from models.entityUtils import *
  from models.relationModels import *
  from models.relationUtils import *
  from transformers import AdamW, get_linear_schedule_with_warmup
  import torch
label_desc: Use image node_id 4 for calling a global function with example usage: entity_setseed(seed) without return types