code: def test_GaussianRBFDistance(size, ft_size, sigma):
      """
      Test GaussianRBF distance kernel implementation
      """
      X = np.random.randn(size, ft_size)
      Y = np.random.randn(size, ft_size)
  
      kmatrix1 = np.empty((size, size))
      for i in range(size):
          for j in range(size):
              kmatrix1[i, j] = 1 - np.exp(
                  -np.linalg.norm(X[i] - Y[j]) ** 2 / (2 * sigma**2)
              )
  
      kernel_distance = GaussianRBFDistance(sigma=sigma)
      kmatrix2 = kernel_distance(X, Y)
      assert np.allclose(kmatrix1, kmatrix2)
  
file_path: alibi/alibi/prototypes/tests/test_utils.py
imports: import pytest
  import numpy
  from alibi.utils.distance import squared_pairwise_distance, batch_compute_kernel_matrix
  from alibi.utils.kernel import GaussianRBF, GaussianRBFDistance, EuclideanDistance
label_desc: Use image node_id 3 for calling a global function with example usage: test_GaussianRBFDistance(size, ft_size, sigma) without return types