code: def compute_angle(a, b):
      inner = np.inner(a, b)
      norms = np.linalg.norm(a) * np.linalg.norm(b)
      cos = inner / norms
      rads = np.arccos(np.clip(cos, -1.0, 1.0))
      return np.rad2deg(rads)
  
imports: import pytest
  import numpy
  import torch.nn
  import torch
  import tensorflow
  from tensorflow import keras
  from alibi.explainers.similarity.grad import GradientSimilarity
label_desc: Use image node_id 2 for calling a global function with example usage: compute_angle(a, b) and returns: np