code: def test_interatomic_l2_distances():
      """Test invoking InteratomicL2Distances."""
      atoms = 5
      neighbors = 2
      coords = np.random.rand(atoms, 3)
      neighbor_list = np.random.randint(
          0, atoms, size=(atoms, neighbors)
      )
      layer = layers.InteratomicL2Distances(atoms, neighbors, 3)
      result = layer([coords, neighbor_list])
      assert result.shape == (atoms, neighbors)
      for atom in range(atoms):
          for neighbor in range(neighbors):
              delta = (
                  coords[atom] - coords[neighbor_list[atom, neighbor]]
              )
              dist2 = np.dot(delta, delta)
              assert np.allclose(dist2, result[atom, neighbor])
  
imports: import deepchem
  import numpy
  import pytest
  import os
label_desc: Use image node_id 6 for calling a global function with example usage: test_interatomic_l2_distances() without return types