code: def _basic_expr(cond):
      return conditional_expressions.if_exp(
          cond,
          lambda: constant_op.constant(1),
          lambda: constant_op.constant(2),
          "cond",
      )
  
file_path: tensorflow-upstream/tensorflow/python/autograph/operators/conditional_expressions_test.py
imports: from tensorflow.python.autograph.operators import conditional_expressions
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling a global function with example usage: _basic_expr(cond) and returns: conditional_expressions