code: def testMapBackPropFalse(self):
      if is_compile_on_demand():
          self.skipTest("list_ops are not supported in cpu_ondemand")
      with self.session(), self.test_scope():
          xla_context = control_flow_ops.XLAControlFlowContext()
          xla_context.Enter()
          nums = [1, 2, 3, 4, 5, 6]
          elems = constant_op.constant(nums, name="data")
          r = map_fn.map_fn(
              lambda x: math_ops.multiply(math_ops.add(x, 3), 2),
              elems,
              back_prop=False,
          )
          self.assertAllEqual(r, np.array([(x + 3) * 2 for x in nums]))
          xla_context.Exit()
  
imports: import os
  import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.compiler.tf2xla.python import xla
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import function
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.ops import gradients_impl
  from tensorflow.python.ops import map_fn
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import while_loop
  from tensorflow.python.platform import test
label_desc: Use image node_id 12 for calling the WhileTest obj's underlying member method code with example usage: obj.testMapBackPropFalse() without return types