code: def assert_cell_shapes(test, output_state, zero_state):
      for name, output, zero in zip(
          output_state._fields, output_state, zero_state
      ):
          test.assertEqual(
              zero.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 4 for calling a global function with example usage: assert_cell_shapes(test, output_state, zero_state) without return types