code: def print_intermediate_result(
      intermediate_output, if_transpose=False
  ):
      intermediate_output = np.squeeze(intermediate_output)
  
      if if_transpose == True:
          intermediate_output = np.transpose(
              intermediate_output, [2, 0, 1]
          )
  
      print(intermediate_output)
      print(intermediate_output.shape)
      print("Sum = %.30f" % np.sum(intermediate_output))
      print("Std = %.30f" % np.std(intermediate_output))
  
file_path: MMdnn/mmdnn/conversion/examples/imagenet_test.py
imports: from __future__ import absolute_import
  import argparse
  import numpy
  from six import text_type
  from PIL import Image
label_desc: Use image node_id 9 for calling the TestKit obj's underlying member method code with example usage: obj.print_intermediate_result(intermediate_output, if_transpose) without return types