code: def _compute_logq1(sigma, order, num_classes):
      logq0 = _compute_logq0(
          sigma, order
      )  # Most likely already cached.
      logq1 = math.log(
          _compute_bl_gnmax(math.exp(logq0), sigma, num_classes)
      )
      assert logq1 <= logq0
      return logq1
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import math
  from absl import app
  import numpy
  import scipy
  import sympy
  import core
label_desc: Use image node_id 2 for calling a global function with example usage: _compute_logq1(sigma, order, num_classes) and returns: logq1