code: def print_intermediate_result(self, layer_name, if_transpose=False):
      # testop = tf.get_default_graph().get_operation_by_name(layer_name)
      testop = self.testop
      with tf.Session() as sess:
          init = tf.global_variables_initializer()
          sess.run(init)
          intermediate_output = sess.run(
              testop, feed_dict={self.input: self.data}
          )
  
      super(TestTF, self).print_intermediate_result(
          intermediate_output, if_transpose
      )
  
file_path: MMdnn/mmdnn/conversion/examples/tensorflow/imagenet_test.py
imports: import argparse
  import numpy
  import sys
  import os
  import tensorflow
  from mmdnn.conversion.examples.imagenet_test import TestKit
label_desc: Use image node_id 4 for calling the TestTF obj's underlying member method code with example usage: obj.print_intermediate_result(layer_name, if_transpose) without return types