code: def test_tf_execution_mode(self, run_eagerly):
      context = tf_execution_context(run_eagerly)
      with context.scope():
          x = tf.fill(dims=(2, 2), value=5.0)
          assert tf.executing_eagerly() == run_eagerly
  
      assert isinstance(x, tf.Tensor)
      actual_result = context.evaluate(x)
      assert isinstance(actual_result, np.ndarray)
  
      expected_result = np.array([[5.0, 5.0], [5.0, 5.0]])
      np.testing.assert_equal(actual_result, expected_result)
  
file_path: tf-encrypted/primitives/tf_encrypted/test/execution_context_test.py
imports: import unittest
  import numpy
  import tensorflow
  from absl.testing import parameterized
  from tf_encrypted.test import tf_execution_context
label_desc: Use image node_id 1 for calling the TestExecutionContext obj's underlying member method code with example usage: obj.test_tf_execution_mode(run_eagerly) without return types