code: def assert_controller_shapes(
      test, controller_outputs, controller_shapes
  ):
      for name, output, shape in zip(
          controller_outputs._fields,
          controller_outputs,
          controller_shapes,
      ):
          test.assertEqual(
              shape, output.shape, "%s shapes don't match" % name
          )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import mock
  import numpy
  from tensor2tensor.layers import modalities
  from tensor2tensor.models.research import neural_stack
  from tensor2tensor.utils import contrib
  import tensorflow.compat.v1
label_desc: Use image node_id 3 for calling a global function with example usage: assert_controller_shapes(test, controller_outputs, controller_shapes) without return types