code: def evaluate(model, g, features, labels, mask, loss_func):
      model.eval()
      with torch.no_grad():
          logits = model(g, features)
      loss = loss_func(logits[mask], labels[mask])
      accuracy, micro_f1, macro_f1 = score(logits[mask], labels[mask])
  
      return loss, accuracy, micro_f1, macro_f1
  
imports: import torch
  from sklearn.metrics import f1_score
  from utils import EarlyStopping, load_data
label_desc: Use image node_id 2 for calling a global function with example usage: evaluate(model, g, features, labels, mask, loss_func) and returns: loss,  accuracy,  micro_f1,  macro_f1