docstr: Same as previous, but with log-uniform grid.
docstr_tok: ["Same","as","previous",",","but","with","log-uniform","grid","."]
code: def testHeatEquation_WithRobinBoundaryConditions_AndLogUniformGrid(
      self,
  ):
      """Same as previous, but with log-uniform grid."""
  
      def final_cond_fn(x):
          return math.e * math.sin(x)
  
      def expected_result_fn(x):
          return tf.sin(x)
  
      def lower_boundary_fn(t, x):
          del x
          return 2, -1, tf.math.exp(t)
  
      def upper_boundary_fn(t, x):
          del x
          return 2, 1, 2 * tf.math.exp(t)
  
      grid = grids.log_uniform_grid(
          minimums=[2 * math.pi],
          maximums=[4.5 * math.pi],
          sizes=[1000],
          dtype=np.float64,
      )
      self._testHeatEquation(
          grid=grid,
          final_t=1,
          time_step=0.01,
          final_cond_fn=final_cond_fn,
          expected_result_fn=expected_result_fn,
          one_step_fn=crank_nicolson_step(),
          lower_boundary_fn=lower_boundary_fn,
          upper_boundary_fn=upper_boundary_fn,
          error_tolerance=1e-2,
      )
  
imports: import math
  from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  import tf_quant_finance
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 5 for calling the ParabolicEquationStepperTest obj's underlying member method code with example usage: obj.testHeatEquation_WithRobinBoundaryConditions_AndLogUniformGrid() and returns: unknown, tf, int,  unknown,  tf, int,  int,  unknown