code: def _evaluate_legendre_polynomial_loop(x, m, l, pmm, pmm1):
      n = m + 2
      x, n, l, m, pmm, pmm1 = tf.while_loop(
          cond=_evaluate_legendre_polynomial_loop_cond,
          body=_evaluate_legendre_polynomial_loop_body,
          loop_vars=[x, n, l, m, pmm, pmm1],
      )
      return pmm1
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from typing import Tuple
  import numpy
  from six.moves import range
  import tensorflow
  from tensorflow_graphics.math import math_helpers
  from tensorflow_graphics.math import vector
  from tensorflow_graphics.util import asserts
  from tensorflow_graphics.util import export_api
  from tensorflow_graphics.util import shape
  from tensorflow_graphics.util.type_alias import TensorLike
label_desc: Use image node_id 7 for calling a global function with example usage: _evaluate_legendre_polynomial_loop(x, m, l, pmm, pmm1) and returns: pmm1