code: def test_concrete_function_editing_proto_after_instantiation(self):
      if not tf2.enabled():
          self.skipTest("TF2 test")
  
      @def_function.function
      def f():
          return 1
  
      cf = f.get_concrete_function()
  
      ctx = runtime_client.GlobalPythonEagerContext()
      rt = runtime_client.Runtime(ctx)
      fndef = rt.GetFunctionProto(cf.function_def.signature.name)
  
      fndef.node_def[0].attr["value"].tensor.int_val[0] = 2
  
      rt.CreateFunction(fndef)
  
      self.assertAllEqual(self.evaluate(f()), 2)
  
imports: from google.protobuf import text_format
  from tensorflow.core.framework import function_pb2
  from tensorflow.core.function.runtime_client import runtime_client
  from tensorflow.core.function.testing import test_pass
  from tensorflow.python import tf2
  from tensorflow.python.eager import context
  from tensorflow.python.eager import def_function
  from tensorflow.python.eager import execute
  from tensorflow.python.eager import remote
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 6 for calling the RuntimeClientTest obj's underlying member method code with example usage: obj.test_concrete_function_editing_proto_after_instantiation() and returns: int