class_docstr: Tests for the ZeroBridge class
class_docstr_tok: ["Tests","for","the","ZeroBridge","class"]
code: def _assert_correct_outputs(self, initial_state_):
      nest.assert_same_structure(
          initial_state_, self.decoder_cell.state_size
      )
      nest.assert_same_structure(
          initial_state_, self.encoder_outputs.final_state
      )
  
      encoder_state_flat = nest.flatten(
          self.encoder_outputs.final_state
      )
      with self.test_session() as sess:
          encoder_state_flat_ = sess.run(encoder_state_flat)
  
      initial_state_flat_ = nest.flatten(initial_state_)
      for e_dec, e_enc in zip(initial_state_flat_, encoder_state_flat_):
          np.testing.assert_array_equal(e_dec, e_enc)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from collections import namedtuple
  import numpy
  import tensorflow
  from tensorflow.python.util import nest
  from seq2seq.encoders.encoder import EncoderOutput
  from seq2seq.models.bridges import ZeroBridge, InitialStateBridge
  from seq2seq.models.bridges import PassThroughBridge
label_desc: Use image node_id 2 for calling the TestPassThroughBridge obj's underlying member method code with example usage: obj._assert_correct_outputs(initial_state_) without return types