code: def RadialSymmetryFunction(R, rc, rs, e):
      """Calculates radial symmetry function.
  
      B = batch_size, N = max_num_atoms, M = max_num_neighbors, d = num_filters
  
      Parameters
      ----------
      R: tf.Tensor of shape (B, N, M)
        Distance matrix.
      rc: float
        Interaction cutoff [Angstrom].
      rs: float
        Gaussian distance matrix mean.
      e: float
        Gaussian distance matrix width.
  
      Returns
      -------
      retval: tf.Tensor of shape (B, N, M)
        Radial symmetry function (before summation)
  
      """
  
      with tf.name_scope(
          None, "NbrRadialSymmetryFunction", [rc, rs, e]
      ):
          rc = tf.Variable(rc)
          rs = tf.Variable(rs)
          e = tf.Variable(e)
          K = GaussianDistanceMatrix(R, rs, e)
          FC = RadialCutoff(R, rc)
      return tf.multiply(K, FC)
  
file_path: deepchem/contrib/atomicconv/models/atomicnet_ops.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import unicode_literals
  import numpy
  import tensorflow
label_desc: Use image node_id 8 for calling a global function with example usage: RadialSymmetryFunction(R, rc, rs, e) and returns: tf