code: def list_tensors(model):
      """Lists all internal tensors of a given model."""
  
      def get_names_dtypes_shapes(function):
          for op in function.graph.get_operations():
              for tensor in op.outputs:
                  yield tensor.name, tensor.dtype.name, tensor.shape
  
      sender = instantiate_model_signature(model, "sender")
      tensors = sorted(get_names_dtypes_shapes(sender))
      print("Sender-side tensors:")
      for name, dtype, shape in tensors:
          print(f"{name} (dtype={dtype}, shape={shape})")
      print()
  
      receiver = instantiate_model_signature(model, "receiver")
      tensors = sorted(get_names_dtypes_shapes(receiver))
      print("Receiver-side tensors:")
      for name, dtype, shape in tensors:
          print(f"{name} (dtype={dtype}, shape={shape})")
  
imports: import argparse
  import io
  import os
  import sys
  import urllib
  from absl import app
  from absl.flags import argparse_flags
  import numpy
  import tensorflow
  import tensorflow_compression
label_desc: Use image node_id 9 for calling a global function with example usage: list_tensors(model) without return types