code: def testHandlePlacement(self):
      with self.cached_session() as sess:
          a = constant_op.constant(1.0)
          a_handle_op = session_ops.get_session_handle(a)
          b = constant_op.constant(2.0)
          b_handle_op = session_ops.get_session_handle(b)
  
          a_handle = self.evaluate(a_handle_op)
          b_handle = self.evaluate(b_handle_op)
  
          a_p, a_t = session_ops.get_session_tensor(
              a_handle.handle, dtypes.float32
          )
          b_p, b_t = session_ops.get_session_tensor(
              b_handle.handle, dtypes.float32
          )
  
          c = math_ops.add(a_t, b_t)
          c_handle = sess.run(
              session_ops.get_session_handle(c),
              feed_dict={a_p: a_handle.handle, b_p: b_handle.handle},
          )
          self.assertEqual(3.0, c_handle.eval())
  
imports: from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import session_ops
  from tensorflow.python.ops import state_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
label_desc: Use image node_id 12 for calling the SessionOpsTest obj's underlying member method code with example usage: obj.testHandlePlacement() without return types